cleaned logs and changed username length for csrf-uuid
This commit is contained in:
committed by
Nanne Baars
parent
6dc679e7b8
commit
1f00d461a8
@ -186,9 +186,8 @@ public class CSRFTest extends IntegrationTest {
|
||||
.cookie("JSESSIONID", getWebGoatCookie())
|
||||
.header("Referer", webWolfUrl("/files/fake.html"))
|
||||
.params(params)
|
||||
.log().all()
|
||||
.post(goatURL)
|
||||
.then().log().all()
|
||||
.then()
|
||||
.extract().cookie("JSESSIONID");
|
||||
|
||||
//select the lesson
|
||||
@ -205,10 +204,8 @@ public class CSRFTest extends IntegrationTest {
|
||||
.when()
|
||||
.relaxedHTTPSValidation()
|
||||
.cookie("JSESSIONID", newCookie)
|
||||
.log().all()
|
||||
.post(url("/csrf/login"))
|
||||
.then()
|
||||
.log().all()
|
||||
.statusCode(200)
|
||||
.extract().path("lessonCompleted");
|
||||
|
||||
|
Reference in New Issue
Block a user