Uses RA 5.0.2-SNAPSHOT

This commit is contained in:
Marcin Grzejszczak
2022-05-23 11:53:23 +02:00
parent a187d70a34
commit 2a66444afb
13 changed files with 16 additions and 16 deletions

View File

@@ -42,7 +42,7 @@
<jgit.version>6.1.0.202203080745-r</jgit.version>
<javax-inject.version>1</javax-inject.version>
<json-unit-assertj.version>2.32.0</json-unit-assertj.version>
<rest-assured.version>6.0.0-SNAPSHOT</rest-assured.version>
<rest-assured.version>5.0.2-SNAPSHOT</rest-assured.version>
<junit-vintage.version>5.8.2</junit-vintage.version>
<junit-jupiter.version>5.8.2</junit-jupiter.version>

View File

@@ -22,7 +22,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>17</java.version>
<spring-cloud-contract.version>4.0.0-SNAPSHOT</spring-cloud-contract.version>
<rest-assured.version>6.0.0-SNAPSHOT</rest-assured.version>
<rest-assured.version>5.0.2-SNAPSHOT</rest-assured.version>
</properties>
<dependencies>

View File

@@ -2,4 +2,4 @@ org.gradle.daemon=false
verifierVersion=4.0.0-SNAPSHOT
BOM_VERSION=2022.0.0-SNAPSHOT
bootVersion=3.0.0-SNAPSHOT
restAssuredVersion=6.0.0-SNAPSHOT
restAssuredVersion=5.0.2-SNAPSHOT

View File

@@ -22,7 +22,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>17</java.version>
<spring-cloud-contract.version>4.0.0-SNAPSHOT</spring-cloud-contract.version>
<rest-assured.version>6.0.0-SNAPSHOT</rest-assured.version>
<rest-assured.version>5.0.2-SNAPSHOT</rest-assured.version>
</properties>
<dependencies>

View File

@@ -39,7 +39,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>17</java.version>
<spring-cloud-contract.version>4.0.0-SNAPSHOT</spring-cloud-contract.version>
<rest-assured.version>6.0.0-SNAPSHOT</rest-assured.version>
<rest-assured.version>5.0.2-SNAPSHOT</rest-assured.version>
</properties>
<dependencies>

View File

@@ -2,4 +2,4 @@ org.gradle.daemon=false
verifierVersion=4.0.0-SNAPSHOT
BOM_VERSION=2022.0.0-SNAPSHOT
bootVersion=3.0.0-SNAPSHOT
restAssuredVersion=6.0.0-SNAPSHOT
restAssuredVersion=5.0.2-SNAPSHOT

View File

@@ -24,7 +24,7 @@
<spring-cloud-contract.version>4.0.0-SNAPSHOT</spring-cloud-contract.version>
<spring.cloud.contract.verifier.jar.skip>true
</spring.cloud.contract.verifier.jar.skip>
<rest-assured.version>6.0.0-SNAPSHOT</rest-assured.version>
<rest-assured.version>5.0.2-SNAPSHOT</rest-assured.version>
</properties>
<dependencies>

View File

@@ -2,4 +2,4 @@ org.gradle.daemon=false
verifierVersion=4.0.0-SNAPSHOT
BOM_VERSION=2022.0.0-SNAPSHOT
bootVersion=3.0.0-SNAPSHOT
restAssuredVersion=6.0.0-SNAPSHOT
restAssuredVersion=5.0.2-SNAPSHOT

View File

@@ -22,7 +22,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>17</java.version>
<spring-cloud-contract.version>4.0.0-SNAPSHOT</spring-cloud-contract.version>
<rest-assured.version>6.0.0-SNAPSHOT</rest-assured.version>
<rest-assured.version>5.0.2-SNAPSHOT</rest-assured.version>
</properties>
<dependencies>

View File

@@ -20,7 +20,7 @@ org.gradle.daemon=false
aetherVersion=1.1.0
springCloudBuildVersion=4.0.0-SNAPSHOT
springVersion=6.0.0-M3
jacksonDatabindVersion=2.11.4
jacksonDatabindVersion=2.13.2.1
mavenResolverVersion=1.4.1
jgitVersion=5.12.0.202106070339-r
jschVersion=0.0.9
jschVersion=0.0.9

View File

@@ -843,8 +843,8 @@ class SingleTestGeneratorSpec extends Specification {
// tag::context_path_baseclass[]
import io.restassured.RestAssured;
import org.junit.Before;
import org.springframework.boot.web.server.LocalServerPort;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.web.server.LocalServerPort;
@SpringBootTest(classes = ContextPathTestingBaseClass.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
class ContextPathTestingBaseClass {

View File

@@ -22,13 +22,13 @@ import org.junit.jupiter.api.Test;
import wiremock.org.eclipse.jetty.http.HttpStatus;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
import org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration;
import org.springframework.boot.test.autoconfigure.restdocs.AutoConfigureRestDocs;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
import org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory;
import org.springframework.boot.web.server.LocalServerPort;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.ResponseEntity;
@@ -46,7 +46,7 @@ public class WiremockServerRestAssuredApplicationTests {
@Autowired
private RequestSpecification documentationSpec;
@LocalServerPort
@Value("${local.server.port}")
private int port;
/*

View File

@@ -25,9 +25,9 @@ import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
import org.springframework.boot.web.server.LocalServerPort;
import org.springframework.cloud.contract.stubrunner.StubFinder;
import org.springframework.cloud.contract.stubrunner.spring.AutoConfigureStubRunner;
import org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties;
@@ -46,7 +46,7 @@ public class LoanApplicationServiceTests {
// end::autoconfigure_stubrunner[]
@LocalServerPort
@Value("${local.server.port}")
Integer port;
@Autowired