From 7e0221ccfdf451d9844615389b09275d9d7f12e8 Mon Sep 17 00:00:00 2001 From: Misagh Moayyed Date: Fri, 20 Sep 2024 15:19:21 +0400 Subject: [PATCH] polish --- .../handler/support/ProxyAuthenticationHandlerTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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