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:
parent
831fa44433
commit
fae4f8bd8e
@ -69,22 +69,13 @@ namespace osu.Game.Tests.Visual.SongSelect
|
|||||||
{
|
{
|
||||||
Ruleset.Value = new OsuRuleset().RulesetInfo;
|
Ruleset.Value = new OsuRuleset().RulesetInfo;
|
||||||
Beatmap.SetDefault();
|
Beatmap.SetDefault();
|
||||||
|
|
||||||
|
songSelect = null;
|
||||||
});
|
});
|
||||||
|
|
||||||
AddStep("delete all beatmaps", () => manager?.Delete());
|
AddStep("delete all beatmaps", () => manager?.Delete());
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void TearDownSteps()
|
|
||||||
{
|
|
||||||
base.TearDownSteps();
|
|
||||||
|
|
||||||
AddStep("remove song select", () =>
|
|
||||||
{
|
|
||||||
songSelect?.Expire();
|
|
||||||
songSelect = null;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void TestSingleFilterOnEnter()
|
public void TestSingleFilterOnEnter()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user