Fix cursed test failure

This was introduced in 580d3a6af6.

Fixes #121
This commit is contained in:
Simon Bruder 2024-01-04 00:55:57 +01:00
parent 7b86f96976
commit 7fbd26d84c
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -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")));
}