Added random port for integration tests

This commit is contained in:
Marcin Grzejszczak
2015-12-01 15:16:57 +01:00
parent 4a1743c984
commit ac9ef5f740

View File

@@ -21,7 +21,7 @@ import org.springframework.web.context.WebApplicationContext;
* @author 4financeIT
*/
@WebAppConfiguration
@IntegrationTest
@IntegrationTest(value = {"server.port=0"})
public abstract class MvcITest {
@Autowired protected WebApplicationContext webApplicationContext;