Skip to content

Commit c8b5b68

Browse files
authored
Fix: rename geo data files to match the required names in deployment repository (#70)
Signed-off-by: sBouzols <[email protected]>
1 parent fbe9e40 commit c8b5b68

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

geo-data-server/src/test/java/org/gridsuite/geodata/server/GeoDataControllerTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ public class GeoDataControllerTest {
6666
@MockBean
6767
private LineRepository lineRepository;
6868

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";
7171

7272
public String toString(String resourceName) {
7373
try {
@@ -121,12 +121,12 @@ public void test() throws Exception {
121121

122122
mvc.perform(post("/" + VERSION + "/substations")
123123
.contentType(APPLICATION_JSON)
124-
.content(toString(OPEN_SUBSTATIONS)))
124+
.content(toString(GEO_DATA_SUBSTATIONS)))
125125
.andExpect(status().isOk());
126126

127127
mvc.perform(post("/" + VERSION + "/lines")
128128
.contentType(APPLICATION_JSON)
129-
.content(toString(OPEN_LINES)))
129+
.content(toString(GEO_DATA_LINES)))
130130
.andExpect(status().isOk());
131131
}
132132
}
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)