|
|
|
@ -1,5 +1,5 @@ |
|
|
|
/* |
|
|
|
/* |
|
|
|
* Copyright 2012-2017 the original author or authors. |
|
|
|
* Copyright 2012-2018 the original author or authors. |
|
|
|
* |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
@ -37,9 +37,9 @@ import org.springframework.util.FileSystemUtils; |
|
|
|
import static io.restassured.RestAssured.given; |
|
|
|
import static io.restassured.RestAssured.given; |
|
|
|
import static org.assertj.core.api.Assertions.assertThat; |
|
|
|
import static org.assertj.core.api.Assertions.assertThat; |
|
|
|
import static org.hamcrest.CoreMatchers.is; |
|
|
|
import static org.hamcrest.CoreMatchers.is; |
|
|
|
|
|
|
|
import static org.springframework.restdocs.operation.preprocess.Preprocessors.modifyUris; |
|
|
|
import static org.springframework.restdocs.operation.preprocess.Preprocessors.preprocessRequest; |
|
|
|
import static org.springframework.restdocs.operation.preprocess.Preprocessors.preprocessRequest; |
|
|
|
import static org.springframework.restdocs.restassured3.RestAssuredRestDocumentation.document; |
|
|
|
import static org.springframework.restdocs.restassured3.RestAssuredRestDocumentation.document; |
|
|
|
import static org.springframework.restdocs.restassured3.operation.preprocess.RestAssuredPreprocessors.modifyUris; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Integration tests for advanced configuration of {@link AutoConfigureRestDocs} with REST |
|
|
|
* Integration tests for advanced configuration of {@link AutoConfigureRestDocs} with REST |
|
|
|
|