mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
parent
7b86f96976
commit
7fbd26d84c
|
@ -208,7 +208,7 @@ class StaffControllerIntegrationTests {
|
|||
@Test
|
||||
@WithMockUser(username = "admin", password = "admin", roles = "ADMIN")
|
||||
void viewHoursesOfWork() throws Exception {
|
||||
mvc.perform(get("/staff"))
|
||||
mvc.perform(get("/staff").queryParam("month", "2023-12"))
|
||||
.andExpect(status().isOk())
|
||||
.andExpect(content().string(containsString("11.0")));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue