1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-06 08:22:56 +08:00

Schedule all of setup to avoid headless test fail

This commit is contained in:
Bartłomiej Dach 2020-12-25 20:44:19 +01:00
parent c32fc05f69
commit 09b0a57290

View File

@ -48,7 +48,7 @@ namespace osu.Game.Tests.Visual.Online
} }
[SetUp] [SetUp]
public void SetUp() public void SetUp() => Schedule(() =>
{ {
requestedBuild = null; requestedBuild = null;
@ -72,8 +72,8 @@ namespace osu.Game.Tests.Visual.Online
} }
}; };
Schedule(() => Child = changelog = new TestChangelogOverlay()); Child = changelog = new TestChangelogOverlay();
} });
[Test] [Test]
public void ShowWithNoFetch() public void ShowWithNoFetch()