Fix headers not getting reset on re-run of test

This commit is contained in:
Dean Herbert 2022-04-12 12:38:15 +09:00
parent f29e329700
commit 22c75a518e
1 changed files with 5 additions and 1 deletions

View File

@ -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
{