diff --git a/graphql/boot-graphql-webmvc/src/test/java/com/example/graphql/web/controllers/AuthorEntityControllerIT.java b/graphql/boot-graphql-webmvc/src/test/java/com/example/graphql/web/controllers/AuthorEntityControllerIT.java index 317465d97..d22dbeaf7 100644 --- a/graphql/boot-graphql-webmvc/src/test/java/com/example/graphql/web/controllers/AuthorEntityControllerIT.java +++ b/graphql/boot-graphql-webmvc/src/test/java/com/example/graphql/web/controllers/AuthorEntityControllerIT.java @@ -7,7 +7,9 @@ import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.put; -import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*; +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.header; +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath; +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; import com.example.graphql.common.AbstractIntegrationTest; import com.example.graphql.entities.AuthorEntity; diff --git a/graphql/boot-graphql-webmvc/src/test/java/com/example/graphql/web/controllers/AuthorEntityControllerTest.java b/graphql/boot-graphql-webmvc/src/test/java/com/example/graphql/web/controllers/AuthorEntityControllerTest.java index c247394fc..8be58bb96 100644 --- a/graphql/boot-graphql-webmvc/src/test/java/com/example/graphql/web/controllers/AuthorEntityControllerTest.java +++ b/graphql/boot-graphql-webmvc/src/test/java/com/example/graphql/web/controllers/AuthorEntityControllerTest.java @@ -10,7 +10,9 @@ import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.put; -import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*; +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.header; +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath; +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; import com.example.graphql.entities.AuthorEntity; import com.example.graphql.model.request.AuthorRequest; diff --git a/graphql/boot-graphql-webmvc/src/test/java/com/example/graphql/web/controllers/PostCommentEntityControllerTest.java b/graphql/boot-graphql-webmvc/src/test/java/com/example/graphql/web/controllers/PostCommentEntityControllerTest.java index 14a08446b..2a25c31b3 100644 --- a/graphql/boot-graphql-webmvc/src/test/java/com/example/graphql/web/controllers/PostCommentEntityControllerTest.java +++ b/graphql/boot-graphql-webmvc/src/test/java/com/example/graphql/web/controllers/PostCommentEntityControllerTest.java @@ -9,7 +9,10 @@ import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.put; -import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*; +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.content; +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.header; +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath; +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; import com.example.graphql.entities.PostCommentEntity; import com.example.graphql.model.request.PostCommentRequest; diff --git a/graphql/boot-graphql-webmvc/src/test/java/com/example/graphql/web/controllers/PostEntityControllerTest.java b/graphql/boot-graphql-webmvc/src/test/java/com/example/graphql/web/controllers/PostEntityControllerTest.java index 751b93413..060989b9a 100644 --- a/graphql/boot-graphql-webmvc/src/test/java/com/example/graphql/web/controllers/PostEntityControllerTest.java +++ b/graphql/boot-graphql-webmvc/src/test/java/com/example/graphql/web/controllers/PostEntityControllerTest.java @@ -10,7 +10,9 @@ import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.put; -import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*; +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.header; +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath; +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; import com.example.graphql.entities.PostEntity; import com.example.graphql.model.request.NewPostRequest; diff --git a/graphql/boot-graphql-webmvc/src/test/java/com/example/graphql/web/controllers/TagEntityControllerTest.java b/graphql/boot-graphql-webmvc/src/test/java/com/example/graphql/web/controllers/TagEntityControllerTest.java index c2ea44135..dcafa7b89 100644 --- a/graphql/boot-graphql-webmvc/src/test/java/com/example/graphql/web/controllers/TagEntityControllerTest.java +++ b/graphql/boot-graphql-webmvc/src/test/java/com/example/graphql/web/controllers/TagEntityControllerTest.java @@ -11,7 +11,9 @@ import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.put; -import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*; +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.header; +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath; +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; import com.example.graphql.entities.TagEntity; import com.example.graphql.model.request.TagsRequest;