mirror of
https://github.com/ppy/osu.git
synced 2025-01-19 09:12:54 +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]
|
[Test]
|
||||||
public void TestEarlyExit()
|
public void TestEarlyExit()
|
||||||
{
|
{
|
||||||
AddStep("apply mods", () => Mods.Value = new[] { new OsuModNightcore() });
|
AddStep("load dummy beatmap", () => ResetPlayer(false, () => Mods.Value = new[] { new OsuModNightcore() }));
|
||||||
AddStep("load dummy beatmap", () => ResetPlayer(false));
|
|
||||||
AddUntilStep("wait for current", () => loader.IsCurrentScreen());
|
AddUntilStep("wait for current", () => loader.IsCurrentScreen());
|
||||||
AddAssert("mod rate applied", () => Beatmap.Value.Track.Rate != 1);
|
AddAssert("mod rate applied", () => Beatmap.Value.Track.Rate != 1);
|
||||||
AddStep("exit loader", () => loader.Exit());
|
AddStep("exit loader", () => loader.Exit());
|
||||||
|
Loading…
Reference in New Issue
Block a user