mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 17:23:22 +08:00
Improve unit test
This commit is contained in:
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);
|
||||
|
Loading…
Reference in New Issue
Block a user