mirror of
https://github.com/ppy/osu
synced 2024-12-09 08:30:36 +00:00
Fix headers not getting reset on re-run of test
This commit is contained in:
parent
f29e329700
commit
22c75a518e
@ -86,7 +86,11 @@ namespace osu.Game.Tests.Visual.Multiplayer
|
||||
[SetUpSteps]
|
||||
public virtual void SetUpSteps()
|
||||
{
|
||||
AddStep("reset counts", () => spectatorClient.Invocations.Clear());
|
||||
AddStep("reset counts", () =>
|
||||
{
|
||||
spectatorClient.Invocations.Clear();
|
||||
lastHeaders.Clear();
|
||||
});
|
||||
|
||||
AddStep("set local user", () => ((DummyAPIAccess)API).LocalUser.Value = new APIUser
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user