fix green buttons
This commit is contained in:
committed by
Nanne Baars
parent
6f532683a1
commit
58bc94d1f6
@ -77,6 +77,17 @@ public class GeneralLessonTest extends IntegrationTest {
|
||||
checkAssignment(url("/WebGoat/VulnerableComponents/attack1"), params, true);
|
||||
checkResults("/VulnerableComponents/");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void insecureLogin() {
|
||||
startLesson("InsecureLogin");
|
||||
Map<String, Object> params = new HashMap<>();
|
||||
params.clear();
|
||||
params.put("username", "CaptainJack");
|
||||
params.put("password", "BlackPearl");
|
||||
checkAssignment(url("/WebGoat/InsecureLogin/task"), params, true);
|
||||
checkResults("/InsecureLogin/");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void securePasswords() {
|
||||
|
Reference in New Issue
Block a user