1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-02 19:00:10 +08:00

Improve unit test

This commit is contained in:
normalid
2024-07-28 15:08:36 +08:00
Unverified
parent 4e44a6e7f8
commit e58bdbb8a9
@@ -94,8 +94,6 @@ namespace osu.Game.Tests.Visual.Online
Username = "LocalUser"
};
string uuid = Guid.NewGuid().ToString();
int messageCount = 1;
AddRepeatStep("add messages", () =>
@@ -104,8 +102,8 @@ namespace osu.Game.Tests.Visual.Online
{
Sender = localUser,
Content = "Hi there all!",
Timestamp = new DateTimeOffset(2022, 11, 21, 20, 11, 13, TimeSpan.Zero),
Uuid = uuid,
Timestamp = new DateTimeOffset(2022, 11, 21, 20, messageCount, 13, TimeSpan.Zero),
Uuid = Guid.NewGuid().ToString(),
});
messageCount++;
}, 10);