mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 23:12:56 +08:00
Fix test failure
This commit is contained in:
parent
48c6279e8b
commit
12f1c9e088
@ -76,8 +76,7 @@ namespace osu.Game.Tests.Visual.Gameplay
|
||||
[Test]
|
||||
public void TestEarlyExit()
|
||||
{
|
||||
AddStep("apply mods", () => Mods.Value = new[] { new OsuModNightcore() });
|
||||
AddStep("load dummy beatmap", () => ResetPlayer(false));
|
||||
AddStep("load dummy beatmap", () => ResetPlayer(false, () => Mods.Value = new[] { new OsuModNightcore() }));
|
||||
AddUntilStep("wait for current", () => loader.IsCurrentScreen());
|
||||
AddAssert("mod rate applied", () => Beatmap.Value.Track.Rate != 1);
|
||||
AddStep("exit loader", () => loader.Exit());
|
||||
|
Loading…
Reference in New Issue
Block a user