diff --git a/core/cas-server-core-services/src/test/java/org/apereo/cas/authentication/handler/support/ProxyAuthenticationHandlerTests.java b/core/cas-server-core-services/src/test/java/org/apereo/cas/authentication/handler/support/ProxyAuthenticationHandlerTests.java index f1abe260a18d..74df9bd07515 100644 --- a/core/cas-server-core-services/src/test/java/org/apereo/cas/authentication/handler/support/ProxyAuthenticationHandlerTests.java +++ b/core/cas-server-core-services/src/test/java/org/apereo/cas/authentication/handler/support/ProxyAuthenticationHandlerTests.java @@ -25,7 +25,7 @@ class ProxyAuthenticationHandlerTests { @BeforeEach public void initialize() { - authenticationHandler = new ProxyAuthenticationHandler(StringUtils.EMPTY, null, null, null, new SimpleHttpClientFactoryBean().getObject()); + authenticationHandler = new ProxyAuthenticationHandler(StringUtils.EMPTY, null, null, 0, new SimpleHttpClientFactoryBean().getObject()); } @Test @@ -58,7 +58,7 @@ void verifyRejectsInProperCertificateCredentials() throws Throwable { @Test void verifyAcceptsNonHttpsCredentials() throws Throwable { assertNotNull(authenticationHandler.authenticate( - RegisteredServiceTestUtils.getHttpBasedServiceCredentials("http://www.google.com"), RegisteredServiceTestUtils.getService())); + RegisteredServiceTestUtils.getHttpBasedServiceCredentials("http://http.badssl.com/"), RegisteredServiceTestUtils.getService())); } @Test