Skip to content

Commit

Permalink
Make it a range.
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahelsaig committed Jan 15, 2024
1 parent c6c1035 commit ffc674a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lombiq.Tests.UI.Samples/Tests/SecurityScanningTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public Task SecurityScanWithCustomConfigurationShouldPass() =>
.DisablePassiveScanRule(10020, "The response does not include either Content-Security-Policy with 'frame-ancestors' directive.")
.DisableScanRuleForUrlWithRegex(".*/about", 10038, "Content Security Policy (CSP) Header Not Set")
.SignIn(),
sarifLog => sarifLog.Runs[0].Results.Count.ShouldBeLessThan(22)),
sarifLog => sarifLog.Runs[0].Results.Count.ShouldBeInRange(17, 22)),
changeConfiguration: configuration => configuration.UseAssertAppLogsForSecurityScan());

// Let's get low-level into ZAP's configuration now. While the .NET configuration API of the Lombiq UI Testing
Expand Down

0 comments on commit ffc674a

Please sign in to comment.