Hendrik Jungnitsch
2022-09-05 205bdf8381a078730e58ebb1204915d636f07d07
exercise
1 Dateien geändert
2 ■■■ Geänderte Dateien
src/test/java/de/gedoplan/seminar/jpa/exercise/Exercise04Test.java 2 ●●● Patch | Ansicht | Raw | Blame | Historie
src/test/java/de/gedoplan/seminar/jpa/exercise/Exercise04Test.java
@@ -49,7 +49,7 @@
    @MethodSource("getTestDataHighway")
    void test03_checkJunctionsAssignedToHighway(Integer highwayId, Integer countJunctions) throws Exception {
        mockMvc.perform(get("/highways/{id}",highwayId))
            .andExpect(jsonPath("$.name",is(countJunctions)));
            .andExpect(jsonPath("$.junctions.size()",is(countJunctions)));
    }