Add failing test for pausing when pause support is disabled

This commit is contained in:
Dean Herbert 2021-02-20 14:19:44 +09:00
parent 52372fe50d
commit d2ec151c67
1 changed files with 9 additions and 0 deletions

View File

@ -90,6 +90,15 @@ public void TestResumeWithResumeOverlaySkipped()
resumeAndConfirm();
}
[Test]
public void TestUserPauseWhenPauseNotAllowed()
{
AddStep("disable pause support", () => Player.Configuration.AllowPause = false);
pauseFromUserExitKey();
confirmExited();
}
[Test]
public void TestUserPauseDuringCooldownTooSoon()
{