Changed api links in the Tests
This commit is contained in:
@ -18,8 +18,8 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
|
||||
@ContextConfiguration
|
||||
public class CoursesControllerTest {
|
||||
|
||||
private static final String COURSES_ENDPOINT = "/api/v1/courses/getCourses";
|
||||
private static final String COURSESGROUPS_ENDPOINT = "/api/v1/courses/getCoursesWithGroups";
|
||||
private static final String COURSES_ENDPOINT = "/api/v1/courses/all";
|
||||
private static final String COURSESGROUPS_ENDPOINT = "/api/v1/courses/all?groups=true";
|
||||
|
||||
@Autowired
|
||||
private WebApplicationContext webApplicationContext;
|
||||
|
Reference in New Issue
Block a user