Update SessionManagementTest.java ()

url() is required in this case. You will notice it when changing host name or when using https
This commit is contained in:
René Zubcevic
2021-12-23 17:07:55 +01:00
committed by GitHub
parent 44ab36aa1b
commit 3bc009297e

@ -42,6 +42,6 @@ class SessionManagementTest extends IntegrationTest {
void hijackSessionTest() {
startLesson("HijackSession");
checkAssignment(HIJACK_LOGIN_CONTEXT_PATH, Map.of("username", "webgoat", "password", "webgoat"), false);
checkAssignment(url(HIJACK_LOGIN_CONTEXT_PATH), Map.of("username", "webgoat", "password", "webgoat"), false);
}
}