From cad6d1d25d01dab516c1f395bf93e4bd4f6a4573 Mon Sep 17 00:00:00 2001 From: Dan Balasescu Date: Mon, 22 Nov 2021 11:20:18 +0900 Subject: [PATCH] Adjust test to match new logic --- .../Visual/Multiplayer/TestSceneAllPlayersQueueMode.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osu.Game.Tests/Visual/Multiplayer/TestSceneAllPlayersQueueMode.cs b/osu.Game.Tests/Visual/Multiplayer/TestSceneAllPlayersQueueMode.cs index 8e44c07a09..dcb01b83cc 100644 --- a/osu.Game.Tests/Visual/Multiplayer/TestSceneAllPlayersQueueMode.cs +++ b/osu.Game.Tests/Visual/Multiplayer/TestSceneAllPlayersQueueMode.cs @@ -64,7 +64,7 @@ namespace osu.Game.Tests.Visual.Multiplayer } [Test] - public void TestItemsClearedWhenSwitchToHostOnlyMode() + public void TestItemsNotClearedWhenSwitchToHostOnlyMode() { addItem(() => OtherBeatmap); addItem(() => InitialBeatmap); @@ -73,7 +73,7 @@ namespace osu.Game.Tests.Visual.Multiplayer RunGameplay(); AddStep("change queue mode", () => Client.ChangeSettings(queueMode: QueueMode.HostOnly)); - AddAssert("playlist has 2 items", () => Client.APIRoom?.Playlist.Count == 2); + AddAssert("playlist has 3 items", () => Client.APIRoom?.Playlist.Count == 3); AddAssert("playlist item is the other beatmap", () => Client.CurrentMatchPlayingItem.Value?.BeatmapID == OtherBeatmap.OnlineID); AddAssert("playlist item is not expired", () => Client.APIRoom?.Playlist[1].Expired == false); }