Skip to content

Commit 5b6a0f9

Browse files
committed
fix gradle test after switching to testNG
1 parent 2350927 commit 5b6a0f9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/swagger-gradle-plugin/src/test/java/io/swagger/v3/plugins/gradle/SwaggerResolveTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ public void setup() throws IOException {
5454

5555
@Test
5656
public void testSwaggerResolveTask() throws IOException {
57-
outputDir = testProjectDir.getRoot().toString() + "/target";
58-
outputFile = testProjectDir.getRoot().toString() + "/testAPI.json";
57+
outputDir = testProjectDir.toString() + "/target";
58+
outputFile = testProjectDir.toString() + "/testAPI.json";
5959
//outputDir = "/tmp/a/target";
6060
String resolveTask = "resolve";
6161

@@ -127,8 +127,8 @@ public void testSwaggerResolveTask() throws IOException {
127127

128128
@Test
129129
public void testSwaggerResolveWithOAS31OptionTask() throws IOException {
130-
outputDir = testProjectDir.getRoot().toString() + "/target";
131-
outputFile = testProjectDir.getRoot().toString() + "/testAPI31.json";
130+
outputDir = testProjectDir.toString() + "/target";
131+
outputFile = testProjectDir.toString() + "/testAPI31.json";
132132
//outputDir = "/tmp/a/target";
133133
String resolveTask = "resolve";
134134

0 commit comments

Comments
 (0)