1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:17:23 +08:00

Fix intermittent test fail due to duplicate user

`TestSceneRealtimeReadyButton` was manually adding `API.LocalUser`,
which wasn't actually needed. The base `RealtimeMultiplayerTestScene` by
default creates a new room as `API.LocalUser`, therefore automatically
adding that user to the room - and as such there is no need to add them
manually unless the `joinRoom` ctor param is specified as `false`.
This commit is contained in:
Bartłomiej Dach 2020-12-23 20:29:17 +01:00
parent 3087aba5bc
commit 9843da59f4

View File

@ -55,8 +55,6 @@ namespace osu.Game.Tests.Visual.RealtimeMultiplayer
}
}
};
Client.AddUser(API.LocalUser.Value);
});
[Test]