Raise the minimum version of REST Assured to 4.4

Closes gh-752
This commit is contained in:
Andy Wilkinson
2021-09-28 09:20:09 +01:00
parent d742ad1cec
commit 774bed30b9
44 changed files with 84 additions and 83 deletions

View File

@@ -24,6 +24,8 @@ ext {
}
ext['spring-restdocs.version'] = '3.0.0-SNAPSHOT'
ext['rest-assured.version'] = '4.4.0'
ext['groovy.version'] = '3.0.8'
configurations {
asciidoctorExtensions
@@ -34,7 +36,7 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'io.rest-assured:rest-assured:3.0.2'
testImplementation 'io.rest-assured:rest-assured:4.4.0'
testImplementation('org.junit.vintage:junit-vintage-engine') {
exclude group: 'org.hamcrest', module: 'hamcrest-core'
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2018 the original author or authors.
* Copyright 2014-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,8 +20,8 @@ import static io.restassured.RestAssured.given;
import static org.hamcrest.CoreMatchers.is;
import static org.springframework.restdocs.operation.preprocess.Preprocessors.preprocessRequest;
import static org.springframework.restdocs.operation.preprocess.Preprocessors.modifyUris;
import static org.springframework.restdocs.restassured3.RestAssuredRestDocumentation.document;
import static org.springframework.restdocs.restassured3.RestAssuredRestDocumentation.documentationConfiguration;
import static org.springframework.restdocs.restassured.RestAssuredRestDocumentation.document;
import static org.springframework.restdocs.restassured.RestAssuredRestDocumentation.documentationConfiguration;
import org.junit.Before;
import org.junit.Rule;