Skip to content

Commit

Permalink
Shouldn't do the rest if
Browse files Browse the repository at this point in the history
  • Loading branch information
wAsnk committed Sep 28, 2023
1 parent 6d1e19f commit 7f2d54f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ public static async Task TestEmailQuotaManagementBehaviorAsync(
context.SuccessMessageExists();
CheckEmailsSentWarningMessage(context, exists: moduleShouldInterfere, maximumEmailQuota, i + 1);
var warningLevel = Convert.ToInt32((double)(i + 1) / maximumEmailQuota * 100) / 10 * 10;
if (!moduleShouldInterfere) continue;

if (warningLevel >= 100)
{
await context.GoToDashboardAsync();
Expand Down

0 comments on commit 7f2d54f

Please sign in to comment.