1
0
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:
smoogipoo 2020-12-20 18:44:41 +09:00
parent 19db35501e
commit a07a36793a

View File

@ -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));