Upgrade wiremock to 1.2.0.RELEASE

parent ff5bf153
......@@ -28,7 +28,7 @@
<spring-cloud-config.version>2.0.0.BUILD-SNAPSHOT</spring-cloud-config.version>
<spring-cloud-stream.version>Elmhurst.BUILD-SNAPSHOT</spring-cloud-stream.version>
<!-- Has to be a stable version (not one that depends on this version of netflix): -->
<donotreplacespring-cloud-contract.version>1.1.2.RELEASE</donotreplacespring-cloud-contract.version>
<donotreplacespring-cloud-contract.version>1.2.0.RELEASE</donotreplacespring-cloud-contract.version>
<!-- Plugin versions -->
<maven-compiler-plugin.version>3.6.1</maven-compiler-plugin.version>
......
......@@ -45,6 +45,7 @@ import io.restassured.specification.FilterableResponseSpecification;
import org.springframework.util.Base64Utils;
import org.springframework.util.ObjectUtils;
import org.springframework.util.StringUtils;
import wiremock.com.google.common.base.Optional;
import static org.assertj.core.api.Assertions.assertThat;
......@@ -202,6 +203,11 @@ class WireMockRestAssuredRequestAdapter implements Request {
}
@Override
public Optional<Request> getOriginalRequest() {
return Optional.of(this);
}
@Override
public String getUrl() {
return request.getDerivedPath();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment