Преглед на файлове

Don't fail on javascript errors

Steve Riesenberg преди 8 месеца
родител
ревизия
40d439c795

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

@@ -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();
 	}
 

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

@@ -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();
 	}