1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 22:03:01 +08:00

Add missing Schedule call to allow individual tests from TestSceneMessageNotifier to pass

This commit is contained in:
Dean Herbert 2022-03-16 18:44:30 +09:00
parent 603527d72d
commit 2452d84e98

View File

@ -30,7 +30,7 @@ namespace osu.Game.Tests.Visual.Online
private int messageIdCounter; private int messageIdCounter;
[SetUp] [SetUp]
public void Setup() public void Setup() => Schedule(() =>
{ {
if (API is DummyAPIAccess daa) if (API is DummyAPIAccess daa)
{ {
@ -50,7 +50,7 @@ namespace osu.Game.Tests.Visual.Online
testContainer.ChatOverlay.Show(); testContainer.ChatOverlay.Show();
}); });
} });
private bool dummyAPIHandleRequest(APIRequest request) private bool dummyAPIHandleRequest(APIRequest request)
{ {