mirror of
https://github.com/ppy/osu.git
synced 2025-03-14 05:07:26 +08:00
Fix test not working
This commit is contained in:
parent
19db35501e
commit
a07a36793a
@ -97,6 +97,12 @@ namespace osu.Game.Tests.Visual.RealtimeMultiplayer
|
||||
[Test]
|
||||
public void TestBecomeHostWhileReady()
|
||||
{
|
||||
AddStep("add host", () =>
|
||||
{
|
||||
Client.AddUser(new User { Id = 2, Username = "Another user" });
|
||||
Client.TransferHost(2);
|
||||
});
|
||||
|
||||
addClickButtonStep();
|
||||
AddStep("make user host", () => Client.TransferHost(Client.Room?.Users[0].UserID ?? 0));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user