1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 00:42:55 +08:00

Fix mod test failing intermittently

This commit is contained in:
smoogipoo 2021-01-21 13:30:53 +09:00
parent 11a9a4c773
commit 163a937e41

View File

@ -134,6 +134,8 @@ namespace osu.Game.Tests.Visual.UserInterface
[Test] [Test]
public void TestExternallySetCustomizedMod() public void TestExternallySetCustomizedMod()
{ {
changeRuleset(0);
AddStep("set customized mod externally", () => SelectedMods.Value = new[] { new OsuModDoubleTime { SpeedChange = { Value = 1.01 } } }); AddStep("set customized mod externally", () => SelectedMods.Value = new[] { new OsuModDoubleTime { SpeedChange = { Value = 1.01 } } });
AddAssert("ensure button is selected and customized accordingly", () => AddAssert("ensure button is selected and customized accordingly", () =>