1
0
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:
Dean Herbert 2019-12-06 15:29:02 +09:00
parent 48c6279e8b
commit 12f1c9e088

View File

@ -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());