Build time optimization (#1553)

* Add integration tests

* Optimize build
This commit is contained in:
Grzegorz Piwowarek
2017-04-01 09:06:59 +02:00
committed by GitHub
parent 4b98413c4a
commit 760692b8eb
11 changed files with 66 additions and 33 deletions
@@ -15,11 +15,12 @@ import org.springframework.test.context.junit4.SpringRunner;
import static org.junit.Assert.assertEquals;
import static org.mockito.Mockito.verify;
import static org.springframework.boot.test.context.SpringBootTest.WebEnvironment.RANDOM_PORT;
@RunWith(SpringRunner.class)
@ActiveProfiles("test")
@SpringBootTest(webEnvironment=SpringBootTest.WebEnvironment.RANDOM_PORT)
public class MessageControllerTest {
@SpringBootTest(webEnvironment = RANDOM_PORT)
public class MessageControllerIntegrationTest {
@Autowired
private TestRestTemplate restTemplate;