Prepared code for parallel run

This commit is contained in:
Marcin Grzejszczak
2016-11-14 10:30:04 +01:00
parent e93d951d50
commit 42d82dca23
22 changed files with 44 additions and 29 deletions

View File

@@ -18,12 +18,12 @@ import org.springframework.test.context.junit4.SpringRunner;
import com.github.tomakehurst.wiremock.junit.WireMockClassRule;
@RunWith(SpringRunner.class)
@SpringBootTest(properties="app.baseUrl=http://localhost:8080", webEnvironment=WebEnvironment.NONE)
@SpringBootTest(properties="app.baseUrl=http://localhost:6063", webEnvironment=WebEnvironment.NONE)
@DirtiesContext
public class WiremockServerApplicationTests {
@ClassRule
public static WireMockClassRule wiremock = new WireMockClassRule();
public static WireMockClassRule wiremock = new WireMockClassRule(6063);
@Autowired
private Service service;