mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
Fix typos in Staff integration tests
This commit is contained in:
parent
7fbd26d84c
commit
2d87b3928b
|
@ -207,7 +207,7 @@ class StaffControllerIntegrationTests {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@WithMockUser(username = "admin", password = "admin", roles = "ADMIN")
|
@WithMockUser(username = "admin", password = "admin", roles = "ADMIN")
|
||||||
void viewHoursesOfWork() throws Exception {
|
void viewHoursOfWork() throws Exception {
|
||||||
mvc.perform(get("/staff").queryParam("month", "2023-12"))
|
mvc.perform(get("/staff").queryParam("month", "2023-12"))
|
||||||
.andExpect(status().isOk())
|
.andExpect(status().isOk())
|
||||||
.andExpect(content().string(containsString("11.0")));
|
.andExpect(content().string(containsString("11.0")));
|
||||||
|
|
|
@ -23,7 +23,7 @@ import catering.users.UserManagement;
|
||||||
import org.springframework.test.annotation.DirtiesContext;
|
import org.springframework.test.annotation.DirtiesContext;
|
||||||
|
|
||||||
@SpringBootTest
|
@SpringBootTest
|
||||||
class StaffManagmentIntegratonTest {
|
class StaffManagmentIntegrationTest {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private StaffManagement staffManagement;
|
private StaffManagement staffManagement;
|
||||||
|
|
Loading…
Reference in a new issue