Change to explicit method instead

This commit is contained in:
smoogipoo
2021-04-16 17:29:42 +09:00
parent 5652490d61
commit ca74f413cd
2 changed files with 22 additions and 18 deletions

View File

@ -221,7 +221,7 @@ namespace osu.Game.Tests.Visual.Gameplay
callbackInvoked = false;
});
AddStep("bind event again", () => testSpectatorStreamingClient.OnUserBeganPlaying += callbackAction);
AddStep("bind event with run once immediately", () => testSpectatorStreamingClient.BindUserBeganPlaying(callbackAction, true));
AddAssert("callback invoked", () => callbackInvoked);
// Don't leave the event bound if test run succeeded.