Skip to content

Commit

Permalink
Fix sonar bug
Browse files Browse the repository at this point in the history
  • Loading branch information
oliemansm committed Jan 16, 2021
1 parent 1b13c69 commit e5850d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

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

import java.io.IOException;
import lombok.RequiredArgsConstructor;
import lombok.val;
import org.json.JSONException;
Expand All @@ -25,7 +24,7 @@ class MonoAutoConfigurationTest {
private WebTestClient webTestClient;

@Test
void monoWrapper() throws IOException, JSONException {
void monoWrapper() throws JSONException {
val result = webTestClient.post()
.uri("/graphql")
.contentType(MediaType.APPLICATION_JSON)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import static org.assertj.core.api.Assertions.assertThat;

import graphql.kickstart.tools.SchemaParserOptions.GenericWrapper;
import java.io.IOException;
import lombok.RequiredArgsConstructor;
import lombok.val;
import org.json.JSONException;
Expand All @@ -29,7 +28,7 @@ class MonoGenericWrapperAlreadyDefinedTest {
private WebTestClient webTestClient;

@Test
void monoWrapper() throws IOException, JSONException {
void monoWrapper() throws JSONException {
val result = webTestClient.post()
.uri("/graphql")
.contentType(MediaType.APPLICATION_JSON)
Expand Down

0 comments on commit e5850d4

Please sign in to comment.