Skip to content

Commit

Permalink
resource path retained
Browse files Browse the repository at this point in the history
  • Loading branch information
nirmalchandra committed Jan 13, 2024
1 parent f4f3800 commit 8cf0bdc
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -61,7 +61,7 @@ private List<String> readCsvSourceFromJson(JsonNode csvSourceJsonNode) throws IO
private List<String> readCsvSourceFromExternalCsvFile(JsonNode csvSourceJsonNode) throws IOException {
String csvSourceFilePath = csvSourceJsonNode.textValue();
if (StringUtils.isNotBlank(csvSourceFilePath)) {
Path path = Paths.get(csvSourceFilePath);
Path path = Paths.get("./src/test/resources/",csvSourceFilePath);
List<String> csvSourceFileLines = Files.lines(path)
.filter(StringUtils::isNotBlank)
.collect(Collectors.toList());
Original file line number Diff line number Diff line change
@@ -21,6 +21,6 @@
],
"parameterized": {
"ignoreHeader": true,
"csvSource":"./src/test/resources/parameterized_csv/params_with_header.csv"
"csvSource":"parameterized_csv/params_with_header.csv"
}
}
Original file line number Diff line number Diff line change
@@ -20,6 +20,6 @@
}
],
"parameterized": {
"csvSource":"./src/test/resources/parameterized_csv/params.csv"
"csvSource":"parameterized_csv/params.csv"
}
}

0 comments on commit 8cf0bdc

Please sign in to comment.