mirror of https://github.com/ppy/osu
Fix headers not getting reset on re-run of test
This commit is contained in:
parent
f29e329700
commit
22c75a518e
|
@ -86,7 +86,11 @@ private void load()
|
|||
[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