Skip to content

Commit a80c790

Browse files
committed
remove accidental change in kotlin tests
1 parent 1dc3a5c commit a80c790

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

modules/openapi-generator/src/test/java/org/openapitools/codegen/kotlin/spring/KotlinSpringServerCodegenTest.java

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -602,28 +602,6 @@ public void skipDefaultInterface() throws Exception {
602602
);
603603
}
604604

605-
@Test(description = "test skip default interface")
606-
public void skipDefaultIgfdgdnterface() throws Exception {
607-
File output = Files.createTempDirectory("test").toFile().getCanonicalFile();
608-
output.deleteOnExit();
609-
String outputPath = output.getAbsolutePath().replace('\\', '/');
610-
611-
KotlinSpringServerCodegen codegen = new KotlinSpringServerCodegen();
612-
codegen.setOutputDir(output.getAbsolutePath());
613-
codegen.additionalProperties().put(KotlinSpringServerCodegen.INTERFACE_ONLY, true);
614-
codegen.additionalProperties().put(KotlinSpringServerCodegen.SKIP_DEFAULT_INTERFACE, true);
615-
616-
new DefaultGenerator().opts(new ClientOptInput()
617-
.openAPI(TestUtils.parseSpec("src/test/resources/3_0/kotlin/byte-format-edge-cases.yaml"))
618-
.config(codegen))
619-
.generate();
620-
621-
assertFileNotContains(
622-
Paths.get(outputPath + "/src/main/kotlin/org/openapitools/api/PingApi.kt"),
623-
"return "
624-
);
625-
}
626-
627605
@Test(description = "test cookie parameter generation on interface apis")
628606
public void cookieParameterGenerationApis() throws Exception {
629607
File output = Files.createTempDirectory("test").toFile().getCanonicalFile();

0 commit comments

Comments
 (0)