mirror of https://github.com/ppy/osu
Move nulling of previous `songSelect` to `SetUpSteps` instead
This commit is contained in:
parent
831fa44433
commit
fae4f8bd8e
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue