fix failing test (order)
This commit is contained in:
parent
41879c4603
commit
dac011db78
@ -81,7 +81,7 @@ public class BlindSendFileAssignmentTest extends LessonTest {
|
|||||||
mockMvc.perform(MockMvcRequestBuilders.post("/xxe/blind")
|
mockMvc.perform(MockMvcRequestBuilders.post("/xxe/blind")
|
||||||
.content(String.format(content, targetFile.toString())))
|
.content(String.format(content, targetFile.toString())))
|
||||||
.andExpect(status().isOk());
|
.andExpect(status().isOk());
|
||||||
assertThat(comments.getComments().iterator().next().getText()).isEqualTo("Nice try, you need to send the file to WebWolf");
|
assertThat(comments.getComments()).extracting(c -> c.getText()).containsAnyOf("Nice try, you need to send the file to WebWolf");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user