Skip to content

Commit f47c780

Browse files
committed
Remove duplicate suppression.
1 parent eaeb905 commit f47c780

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Lombiq.Tests.UI/SecurityScanning/OrchardCoreUITestExecutorConfigurationExtensions.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,9 @@ public static Func<IWebApplicationInstance, Task> CreateAppLogAssertionForSecuri
5858
// Thrown from Microsoft.AspNetCore.Authentication.AuthenticationService.ChallengeAsync() when ZAP sends
5959
// invalid authentication challenges.
6060
"System.InvalidOperationException: No authentication handler is registered for the scheme",
61-
// This error is generated when testing the error page is enabled. It is expected.
62-
"System.InvalidOperationException: This action intentionally causes an exception!",
61+
// If the middleware is enabled, logs like this are emitted next to every exception even if they are
62+
// already suppressed by one of these patterns.
63+
"Lombiq.Tests.UI.Shortcuts.Middlewares.ExceptionContextLoggingMiddleware: HTTP request when the exception",
6364
};
6465

6566
permittedErrorLinePatterns.AddRange(additionalPermittedErrorLinePatterns);

0 commit comments

Comments
 (0)