Skip to content

Commit bca94f4

Browse files
committed
Fixing formatting issues
Signed-off-by: Ricardo Zanini <[email protected]>
1 parent 25a9d07 commit bca94f4

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

deployment/src/test/java/io/quarkiverse/openapi/generator/deployment/wrapper/OpenApiClientGeneratorWrapperTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
import io.quarkiverse.openapi.generator.deployment.MockConfigUtils;
3333
import io.quarkiverse.openapi.generator.deployment.codegen.ModelCodegenConfigParser;
3434

35-
3635
public class OpenApiClientGeneratorWrapperTest {
3736

3837
@Test
@@ -92,7 +91,7 @@ void verifyDeprecatedFields() throws URISyntaxException, FileNotFoundException {
9291
assertThat(fields.stream()
9392
.flatMap(v -> v.getVariables().stream())
9493
.anyMatch(f -> f.getNameAsString().equals("lastTransitionTime")))
95-
.isTrue();
94+
.isTrue();
9695

9796
// this one we optionally removed the deprecated attribute
9897
final Optional<File> connectorDeploymentSpec = generatedFiles.stream()
@@ -104,7 +103,7 @@ void verifyDeprecatedFields() throws URISyntaxException, FileNotFoundException {
104103
assertThat(fields2.stream()
105104
.flatMap(v -> v.getVariables().stream())
106105
.anyMatch(f -> f.getNameAsString().equals("allowUpgrade")))
107-
.isFalse();
106+
.isFalse();
108107
//TODO: add a condition where we know there is a deprecated attribute and verify it's been generated
109108
}
110109

integration-tests/src/test/java/io/quarkiverse/openapi/generator/it/MultipartTest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
package io.quarkiverse.openapi.generator.it;
22

3+
import static com.github.tomakehurst.wiremock.client.WireMock.containing;
4+
import static com.github.tomakehurst.wiremock.client.WireMock.equalTo;
5+
import static com.github.tomakehurst.wiremock.client.WireMock.equalToJson;
6+
import static com.github.tomakehurst.wiremock.client.WireMock.postRequestedFor;
7+
import static com.github.tomakehurst.wiremock.client.WireMock.urlEqualTo;
8+
39
import java.io.File;
410
import java.io.IOException;
511
import java.io.PrintWriter;
@@ -25,12 +31,6 @@
2531
import io.quarkus.test.common.QuarkusTestResource;
2632
import io.quarkus.test.junit.QuarkusTest;
2733

28-
import static com.github.tomakehurst.wiremock.client.WireMock.containing;
29-
import static com.github.tomakehurst.wiremock.client.WireMock.equalTo;
30-
import static com.github.tomakehurst.wiremock.client.WireMock.equalToJson;
31-
import static com.github.tomakehurst.wiremock.client.WireMock.postRequestedFor;
32-
import static com.github.tomakehurst.wiremock.client.WireMock.urlEqualTo;
33-
3434
@QuarkusTest
3535
@QuarkusTestResource(WiremockMultipart.class)
3636
public class MultipartTest {

0 commit comments

Comments
 (0)