1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 14:25:05 +08:00

Fix test hangs in browser due to changing tracks via music controller

This commit is contained in:
Bartłomiej Dach 2021-03-17 18:44:21 +01:00
parent 3b55eeb416
commit 21e18c9f6e

View File

@ -41,6 +41,9 @@ namespace osu.Game.Tests.Visual.Editing
private void load()
{
Beatmap.Value = CreateWorkingBeatmap(new OsuRuleset().RulesetInfo);
// ensure that music controller does not change this beatmap due to it
// completing naturally as part of the test.
Beatmap.Disabled = true;
}
[Test]