We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e410df commit ab17882Copy full SHA for ab17882
backend/src/test/java/io/abnd/SpringBootAngular2ApplicationTests.java
@@ -2,13 +2,11 @@
2
3
import org.junit.Test;
4
import org.junit.runner.RunWith;
5
-import org.springframework.test.context.web.WebAppConfiguration;
6
-import org.springframework.boot.test.SpringApplicationConfiguration;
+import org.springframework.boot.test.context.SpringBootTest;
7
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
8
9
@RunWith(SpringJUnit4ClassRunner.class)
10
-@SpringApplicationConfiguration(classes = SpringBootAngular2Application.class)
11
-@WebAppConfiguration
+@SpringBootTest
12
public class SpringBootAngular2ApplicationTests {
13
14
@Test
0 commit comments