diff --git a/Content.IntegrationTests/Tests/Interaction/InteractionTest.Helpers.cs b/Content.IntegrationTests/Tests/Interaction/InteractionTest.Helpers.cs index 2a7eb40db8..a786250d5b 100644 --- a/Content.IntegrationTests/Tests/Interaction/InteractionTest.Helpers.cs +++ b/Content.IntegrationTests/Tests/Interaction/InteractionTest.Helpers.cs @@ -369,11 +369,8 @@ protected async Task AwaitDoAfters(bool shouldSucceed = true, int maxExpected = /// Cancel any currently active DoAfters. Default arguments are such that it also checks that there is at least one /// active DoAfter to cancel. /// - protected async Task CancelDoAfters(int minExpected = 1, int maxExpected = 1) + protected async Task CancelDoAfters(int minExpected = 0, int maxExpected = 1) { - if (!ActiveDoAfters.Any()) // WD EDIT - return; - Assert.That(ActiveDoAfters.Count(), Is.GreaterThanOrEqualTo(minExpected)); Assert.That(ActiveDoAfters.Count(), Is.LessThanOrEqualTo(maxExpected));