Update SessionManagementTest.java (#1198)

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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}
}