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

Turn lines into another single line

This commit is contained in:
Craftplacer 2020-01-29 02:27:07 +01:00
parent 4f109c02d3
commit 738f1f0c56

View File

@ -51,12 +51,7 @@ namespace osu.Game.Tests.Visual.Online
[Test]
public void TestPrivateMessageNotification()
{
AddStep("Send PM", () => privateMesssageChannel.AddNewMessages(new Message(messageIdCounter++)
{
Content = $"Hello {API.LocalUser.Value.Username}!",
Sender = friend,
ChannelId = privateMesssageChannel.Id
}));
AddStep("Send PM", () => privateMesssageChannel.AddNewMessages(new Message(messageIdCounter++) { Content = $"Hello {API.LocalUser.Value.Username}!", Sender = friend, ChannelId = privateMesssageChannel.Id }));
AddAssert("Expect 1 notification", () => testContainer.NotificationOverlay.UnreadCount.Value == 1);
}