1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 12:57:36 +08:00
This commit is contained in:
Davran Dilshat 2021-09-11 16:23:17 +01:00
parent 7924a990a3
commit 605933c467

View File

@ -351,7 +351,7 @@ namespace osu.Game.Tests.Visual.Online
AddStep("Open chat with non-existant user", () => channelManager.PostCommand("chat nobody"));
AddAssert("Last message is error", () => channelManager.CurrentChannel.Value.Messages.Last().GetType() == typeof(ErrorMessage));
// Make sure no unnecessary requests are made when the PM chanenl is already open.
// Make sure no unnecessary requests are made when the PM channel is already open.
AddStep("Select channel 1", () => clickDrawable(chatOverlay.TabMap[channel1]));
AddStep("Unregister request handling", () => ((DummyAPIAccess)API).HandleRequest = null);
AddStep("Open chat with user.", () => channelManager.PostCommand("chat some body"));