Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit e5850d4

Browse files
committed
Fix sonar bug
1 parent 1b13c69 commit e5850d4

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

graphql-kickstart-spring-boot-autoconfigure-webflux/src/test/java/graphql/kickstart/spring/webflux/boot/MonoAutoConfigurationTest.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import static org.assertj.core.api.Assertions.assertThat;
44

5-
import java.io.IOException;
65
import lombok.RequiredArgsConstructor;
76
import lombok.val;
87
import org.json.JSONException;
@@ -25,7 +24,7 @@ class MonoAutoConfigurationTest {
2524
private WebTestClient webTestClient;
2625

2726
@Test
28-
void monoWrapper() throws IOException, JSONException {
27+
void monoWrapper() throws JSONException {
2928
val result = webTestClient.post()
3029
.uri("/graphql")
3130
.contentType(MediaType.APPLICATION_JSON)

graphql-kickstart-spring-boot-autoconfigure-webflux/src/test/java/graphql/kickstart/spring/webflux/boot/MonoGenericWrapperAlreadyDefinedTest.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import static org.assertj.core.api.Assertions.assertThat;
44

55
import graphql.kickstart.tools.SchemaParserOptions.GenericWrapper;
6-
import java.io.IOException;
76
import lombok.RequiredArgsConstructor;
87
import lombok.val;
98
import org.json.JSONException;
@@ -29,7 +28,7 @@ class MonoGenericWrapperAlreadyDefinedTest {
2928
private WebTestClient webTestClient;
3029

3130
@Test
32-
void monoWrapper() throws IOException, JSONException {
31+
void monoWrapper() throws JSONException {
3332
val result = webTestClient.post()
3433
.uri("/graphql")
3534
.contentType(MediaType.APPLICATION_JSON)

0 commit comments

Comments
 (0)