Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoayyed committed Sep 20, 2024
1 parent 5c0b6a1 commit 7e0221c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7e0221c

Please sign in to comment.