Skip to content

Commit 40d439c

Browse files
committed
Don't fail on javascript errors
1 parent b4bf4fb commit 40d439c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

servlet/java-configuration/saml2/login/src/integTest/java/example/Saml2JavaConfigurationITests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ void setup() {
6969
this.webClient = MockMvcWebClientBuilder.mockMvcSetup(this.mvc)
7070
.withDelegate(new LocalHostWebClient(this.environment))
7171
.build();
72+
this.webClient.getOptions().setThrowExceptionOnScriptError(false);
7273
this.webClient.getCookieManager().clearCookies();
7374
}
7475

servlet/xml/java/saml2/login-logout/src/integTest/java/example/Saml2XmlITests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ void setup() {
6868
this.webClient = MockMvcWebClientBuilder.mockMvcSetup(this.mvc)
6969
.withDelegate(new LocalHostWebClient(this.environment))
7070
.build();
71+
this.webClient.getOptions().setThrowExceptionOnScriptError(false);
7172
this.webClient.getCookieManager().clearCookies();
7273
}
7374

0 commit comments

Comments
 (0)