Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit 7882cc9

Browse files
author
FredrikSchäferVitagroup
committed
SORMAS-Foundation#3195 redirected swagger docu path to file generated before test
1 parent f2b0404 commit 7882cc9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sormas-rest/src/test/java/de/symeda/sormas/rest/ExternalVisitsResourceTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public void testIfRelevantSwaggerDocumentationIsUnchanged() throws IOException {
3636
});
3737

3838
String newSwaggerDocuPath = System.getProperty("user.dir");
39-
newSwaggerDocuPath = newSwaggerDocuPath + "/target/swagger.json";
39+
newSwaggerDocuPath = newSwaggerDocuPath + "/target/test-classes/swagger.json";
4040
String newSwaggerDocu = fileToString(newSwaggerDocuPath);
4141
Map<String, Object> newSwaggerDocuMap = objectMapper.readValue(newSwaggerDocu, new TypeReference<Map<String, Object>>() {
4242
});

0 commit comments

Comments
 (0)