Skip to content

Commit

Permalink
Update SessionManagementTest.java (WebGoat#1198)
Browse files Browse the repository at this point in the history
url() is required in this case. You will notice it when changing host name or when using https
  • Loading branch information
zubcevic authored Dec 23, 2021
1 parent 44ab36a commit 3bc0092
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 3bc0092

Please sign in to comment.