From 2d87b3928b7a806cfcbaa4772a226ee31ea286c3 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Wed, 3 Jan 2024 23:59:07 +0100 Subject: [PATCH] Fix typos in Staff integration tests --- .../java/catering/staff/StaffControllerIntegrationTests.java | 2 +- .../java/catering/staff/StaffManagementIntegrationTests.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/catering/staff/StaffControllerIntegrationTests.java b/src/test/java/catering/staff/StaffControllerIntegrationTests.java index 6e592af..37edf21 100644 --- a/src/test/java/catering/staff/StaffControllerIntegrationTests.java +++ b/src/test/java/catering/staff/StaffControllerIntegrationTests.java @@ -207,7 +207,7 @@ class StaffControllerIntegrationTests { @Test @WithMockUser(username = "admin", password = "admin", roles = "ADMIN") - void viewHoursesOfWork() throws Exception { + void viewHoursOfWork() throws Exception { mvc.perform(get("/staff").queryParam("month", "2023-12")) .andExpect(status().isOk()) .andExpect(content().string(containsString("11.0"))); diff --git a/src/test/java/catering/staff/StaffManagementIntegrationTests.java b/src/test/java/catering/staff/StaffManagementIntegrationTests.java index 0029b70..ab315b2 100644 --- a/src/test/java/catering/staff/StaffManagementIntegrationTests.java +++ b/src/test/java/catering/staff/StaffManagementIntegrationTests.java @@ -23,7 +23,7 @@ import catering.users.UserManagement; import org.springframework.test.annotation.DirtiesContext; @SpringBootTest -class StaffManagmentIntegratonTest { +class StaffManagmentIntegrationTest { @Autowired private StaffManagement staffManagement;