package ch.keepcalm.web;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfiguration;

@RunWith(SpringJUnit4ClassRunner.class)
@SpringApplicationConfiguration(classes = Application.class)
@WebAppConfiguration
public class AngularSpringbootApplicationTests {

    @Test
    public void contextLoads() {
    }

}




@@ -144,16 +144,133 @@
 ration;%0A
+import org.springframework.boot.test.context.SpringBootTest;%0Aimport org.springframework.test.context.ActiveProfiles;%0A
 import o
@@ -333,16 +333,77 @@
 Runner;%0A
+import org.springframework.test.context.junit4.SpringRunner;%0A
 import o
@@ -471,35 +471,24 @@
 nWith(Spring
-JUnit4Class
 Runner.class
@@ -500,82 +500,16 @@
 ring
-ApplicationConfiguration(classes = Application.class)%0A@WebAppConfiguration
+BootTest
 %0Apub

change test classes