Skip to content

Commit 1eaac8b

Browse files
committed
Supply Port Number to HtmlUnit WebClient
1 parent dd2925f commit 1eaac8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servlet/spring-boot/java/saml2/saml-extension-federation/src/integTest/java/example/SamlExtensionFederationApplicationITests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ void logoutWhenRelyingPartyInitiatedLogoutThenLoginPageWithLogoutParam() throws
7373
}
7474

7575
private void performLogin() throws Exception {
76-
HtmlPage login = this.webClient.getPage("/");
76+
HtmlPage login = this.webClient.getPage("http://localhost:" + this.port);
7777
login.getAnchors().get(0).click();
7878
this.webClient.waitForBackgroundJavaScript(10000);
7979
HtmlForm form = findForm(login);

0 commit comments

Comments
 (0)