1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 18:03:11 +08:00

Improve unit test

This commit is contained in:
normalid 2024-07-28 15:08:36 +08:00
parent 4e44a6e7f8
commit e58bdbb8a9

View File

@ -94,8 +94,6 @@ namespace osu.Game.Tests.Visual.Online
Username = "LocalUser" Username = "LocalUser"
}; };
string uuid = Guid.NewGuid().ToString();
int messageCount = 1; int messageCount = 1;
AddRepeatStep("add messages", () => AddRepeatStep("add messages", () =>
@ -104,8 +102,8 @@ namespace osu.Game.Tests.Visual.Online
{ {
Sender = localUser, Sender = localUser,
Content = "Hi there all!", Content = "Hi there all!",
Timestamp = new DateTimeOffset(2022, 11, 21, 20, 11, 13, TimeSpan.Zero), Timestamp = new DateTimeOffset(2022, 11, 21, 20, messageCount, 13, TimeSpan.Zero),
Uuid = uuid, Uuid = Guid.NewGuid().ToString(),
}); });
messageCount++; messageCount++;
}, 10); }, 10);