Don't fail on javascript errors

This commit is contained in:
Steve Riesenberg
2024-11-26 15:32:59 -06:00
parent b4bf4fb5d8
commit 40d439c795
2 changed files with 2 additions and 0 deletions

View File

@@ -69,6 +69,7 @@ public class Saml2JavaConfigurationITests {
this.webClient = MockMvcWebClientBuilder.mockMvcSetup(this.mvc)
.withDelegate(new LocalHostWebClient(this.environment))
.build();
this.webClient.getOptions().setThrowExceptionOnScriptError(false);
this.webClient.getCookieManager().clearCookies();
}

View File

@@ -68,6 +68,7 @@ public class Saml2XmlITests {
this.webClient = MockMvcWebClientBuilder.mockMvcSetup(this.mvc)
.withDelegate(new LocalHostWebClient(this.environment))
.build();
this.webClient.getOptions().setThrowExceptionOnScriptError(false);
this.webClient.getCookieManager().clearCookies();
}