File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
java/org/gridsuite/geodata/server Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ public class GeoDataControllerTest {
66
66
@ MockBean
67
67
private LineRepository lineRepository ;
68
68
69
- private static final String OPEN_SUBSTATIONS = "/open_substations .json" ;
70
- private static final String OPEN_LINES = "/open_lines .json" ;
69
+ private static final String GEO_DATA_SUBSTATIONS = "/geo_data_substations .json" ;
70
+ private static final String GEO_DATA_LINES = "/geo_data_lines .json" ;
71
71
72
72
public String toString (String resourceName ) {
73
73
try {
@@ -121,12 +121,12 @@ public void test() throws Exception {
121
121
122
122
mvc .perform (post ("/" + VERSION + "/substations" )
123
123
.contentType (APPLICATION_JSON )
124
- .content (toString (OPEN_SUBSTATIONS )))
124
+ .content (toString (GEO_DATA_SUBSTATIONS )))
125
125
.andExpect (status ().isOk ());
126
126
127
127
mvc .perform (post ("/" + VERSION + "/lines" )
128
128
.contentType (APPLICATION_JSON )
129
- .content (toString (OPEN_LINES )))
129
+ .content (toString (GEO_DATA_LINES )))
130
130
.andExpect (status ().isOk ());
131
131
}
132
132
}
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments