Fix submission test not asserting properly

This commit is contained in:
Salman Ahmed 2024-01-16 14:27:40 +03:00
parent 90da39c65d
commit 485195d4c2

View File

@ -294,6 +294,7 @@ namespace osu.Game.Tests.Visual.Gameplay
createPlayerTest(createRuleset: () => new OsuRuleset(), createMods: () => new Mod[] { new TaikoModHidden() });
AddUntilStep("wait for token request", () => Player.TokenCreationRequested);
AddAssert("gameplay not loaded", () => Player.DrawableRuleset == null);
AddStep("exit", () => Player.Exit());
AddAssert("ensure no submission", () => Player.SubmittedScore == null);