Don't fail on javascript errors
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user