Update sample tests after test config improvements
See gh-75
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
package io.spring.sample.graphql;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.graphql.boot.test.tester.AutoConfigureWebGraphQlTester;
|
||||
import org.springframework.graphql.execution.ErrorType;
|
||||
@@ -12,7 +12,6 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.assertj.core.api.Assertions.assertThatThrownBy;
|
||||
|
||||
@SpringBootTest
|
||||
@AutoConfigureMockMvc
|
||||
@AutoConfigureWebGraphQlTester
|
||||
class SampleApplicationTests {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user