Move nulling of previous `songSelect` to `SetUpSteps` instead

This commit is contained in:
Dean Herbert 2022-01-27 21:59:44 +09:00
parent 831fa44433
commit fae4f8bd8e
1 changed files with 2 additions and 11 deletions

View File

@ -69,22 +69,13 @@ public override void SetUpSteps()
{
Ruleset.Value = new OsuRuleset().RulesetInfo;
Beatmap.SetDefault();
songSelect = null;
});
AddStep("delete all beatmaps", () => manager?.Delete());
}
public override void TearDownSteps()
{
base.TearDownSteps();
AddStep("remove song select", () =>
{
songSelect?.Expire();
songSelect = null;
});
}
[Test]
public void TestSingleFilterOnEnter()
{