Fix wrong group id
This commit is contained in:
@@ -47,7 +47,7 @@ class StubServer {
|
||||
|
||||
private WireMockConfiguration config() {
|
||||
if (ClassUtils.isPresent('org.springframework.cloud.contract.wiremock.WireMockSpring', null)) {
|
||||
return WireMockSpring.config()
|
||||
return WireMockSpring.options()
|
||||
}
|
||||
return new WireMockConfiguration()
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ public abstract class WireMockSpring {
|
||||
|
||||
private static boolean initialized = false;
|
||||
|
||||
public static WireMockConfiguration config() {
|
||||
public static WireMockConfiguration options() {
|
||||
if (!initialized) {
|
||||
if (ClassUtils.isPresent("org.apache.http.conn.ssl.NoopHostnameVerifier",
|
||||
null)) {
|
||||
|
||||
@@ -23,7 +23,7 @@ public class WiremockHttpsServerApplicationTests {
|
||||
|
||||
@ClassRule
|
||||
public static WireMockClassRule wiremock = new WireMockClassRule(
|
||||
WireMockSpring.config().httpsPort(8443));
|
||||
WireMockSpring.options().httpsPort(8443));
|
||||
|
||||
@Autowired
|
||||
private Service service;
|
||||
|
||||
@@ -23,7 +23,7 @@ import com.github.tomakehurst.wiremock.junit.WireMockClassRule;
|
||||
public class WiremockServerApplicationTests {
|
||||
|
||||
@ClassRule
|
||||
public static WireMockClassRule wiremock = new WireMockClassRule(WireMockSpring.config());
|
||||
public static WireMockClassRule wiremock = new WireMockClassRule(WireMockSpring.options());
|
||||
|
||||
@Autowired
|
||||
private Service service;
|
||||
|
||||
Reference in New Issue
Block a user