mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 13:22:55 +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;
|
||||
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
Block a user