File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
NuGetTest/test/Lombiq.OSOCE.NuGet.Tests.UI Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -35,14 +35,7 @@ protected override Task ExecuteTestAsync(
3535 async configuration =>
3636 {
3737 // This can be removed once https://github.com/OrchardCMS/OrchardCore/issues/15222 is done.
38- configuration . HtmlValidationConfiguration . AssertHtmlValidationResultAsync = validationResult =>
39- {
40- var errors = validationResult . GetParsedErrors ( )
41- . Where ( error => error . RuleId is not ( "prefer-native-element" or "aria-label-misuse" ) )
42- . ToList ( ) ;
43- errors . ShouldBeEmpty ( HtmlValidationResultExtensions . GetParsedErrorMessageString ( errors ) ) ;
44- return Task . CompletedTask ;
45- } ;
38+ configuration . HtmlValidationConfiguration . WithOC15222Filter ( ) ;
4639
4740 if ( changeConfigurationAsync != null ) await changeConfigurationAsync ( configuration ) ;
4841 } ) ;
You can’t perform that action at this time.
0 commit comments