diff --git a/api/src/test/java/lab/en2b/quizapi/game/GameControllerTest.java b/api/src/test/java/lab/en2b/quizapi/game/GameControllerTest.java index 2dcac8a1..d570e709 100644 --- a/api/src/test/java/lab/en2b/quizapi/game/GameControllerTest.java +++ b/api/src/test/java/lab/en2b/quizapi/game/GameControllerTest.java @@ -187,7 +187,7 @@ void getGameDetailsShouldReturn200() throws Exception{ @Test void getQuestionCategoriesShouldReturn200() throws Exception{ - mockMvc.perform(get("/games/questionCategories") + mockMvc.perform(get("/games/question-categories") .with(user("test").roles("user")) .contentType("application/json") .with(csrf())) @@ -196,7 +196,7 @@ void getQuestionCategoriesShouldReturn200() throws Exception{ @Test void getQuestionCategoriesShouldReturn403() throws Exception{ - mockMvc.perform(get("/games/questionCategories") + mockMvc.perform(get("/games/question-categories") .contentType("application/json") .with(csrf())) .andExpect(status().isForbidden());