diff --git a/osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerReadyButton.cs b/osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerReadyButton.cs index 0315e5dfe4..7bf03caa88 100644 --- a/osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerReadyButton.cs +++ b/osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerReadyButton.cs @@ -85,7 +85,7 @@ namespace osu.Game.Tests.Visual.Multiplayer }); AddAssert("countdown button not visible", () => !this.ChildrenOfType().Single().IsPresent); - AddStep("finish countdown", () => MultiplayerClient.FinishCountDown()); + AddStep("finish countdown", () => MultiplayerClient.FinishCountdown()); AddUntilStep("match started", () => MultiplayerClient.LocalUser?.State == MultiplayerUserState.WaitingForLoad); } @@ -104,7 +104,7 @@ namespace osu.Game.Tests.Visual.Multiplayer ClickButtonWhenEnabled(); - AddStep("finish countdown", () => MultiplayerClient.FinishCountDown()); + AddStep("finish countdown", () => MultiplayerClient.FinishCountdown()); AddUntilStep("match not started", () => MultiplayerClient.LocalUser?.State == MultiplayerUserState.Ready); } @@ -158,7 +158,7 @@ namespace osu.Game.Tests.Visual.Multiplayer AddStep("set spectating", () => MultiplayerClient.ChangeUserState(API.LocalUser.Value.OnlineID, MultiplayerUserState.Spectating)); AddUntilStep("local user is spectating", () => MultiplayerClient.LocalUser?.State == MultiplayerUserState.Spectating); - AddStep("finish countdown", () => MultiplayerClient.FinishCountDown()); + AddStep("finish countdown", () => MultiplayerClient.FinishCountdown()); AddUntilStep("match not started", () => MultiplayerClient.Room?.State == MultiplayerRoomState.Open); } diff --git a/osu.Game/Tests/Visual/Multiplayer/TestMultiplayerClient.cs b/osu.Game/Tests/Visual/Multiplayer/TestMultiplayerClient.cs index 309ca6ca58..2b03017905 100644 --- a/osu.Game/Tests/Visual/Multiplayer/TestMultiplayerClient.cs +++ b/osu.Game/Tests/Visual/Multiplayer/TestMultiplayerClient.cs @@ -300,7 +300,7 @@ namespace osu.Game.Tests.Visual.Multiplayer private CancellationTokenSource? countdownStopSource; private Task countdownTask = Task.CompletedTask; - public void FinishCountDown() => countdownFinishSource?.Cancel(); + public void FinishCountdown() => countdownFinishSource?.Cancel(); public override async Task SendMatchRequest(MatchUserRequest request) {