added int test for IDOR and fixed green button issue (#801)

This commit is contained in:
René Zubcevic
2020-04-29 12:12:11 +02:00
committed by GitHub
parent 2398949396
commit 9dea696c4c
10 changed files with 129 additions and 74 deletions

View File

@ -166,4 +166,16 @@ public class GeneralLessonTest extends IntegrationTest {
}
@Test
public void lessonTemplate() {
startLesson("LessonTemplate");
Map<String, Object> params = new HashMap<>();
params.clear();
params.put("param1", "secr37Value");
params.put("param2", "Main");
checkAssignment(url("/lesson-template/sample-attack"), params, true);
checkResults("/lesson-template/");
}
}