Build time optimization (#1553)
* Add integration tests * Optimize build
This commit is contained in:
committed by
GitHub
parent
4b98413c4a
commit
760692b8eb
+3
-2
@@ -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;
|
||||
Reference in New Issue
Block a user