1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 16:12:57 +08:00

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

View File

@ -69,22 +69,13 @@ namespace osu.Game.Tests.Visual.SongSelect
{
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()
{