Move 'insights.web' properties to 'spring.http'
Relocate the 'spring.insights.web.log-request-details' property to 'spring.http.log-request-details'. Closes gh-14313
This commit is contained in:
@@ -52,8 +52,8 @@ public class WebTestClientRestDocsAutoConfigurationIntegrationTests {
|
||||
|
||||
@Test
|
||||
public void defaultSnippetsAreWritten() throws Exception {
|
||||
this.webTestClient.get().uri("/").exchange().expectBody()
|
||||
.consumeWith(document("default-snippets"));
|
||||
this.webTestClient.get().uri("/").exchange().expectStatus().is2xxSuccessful()
|
||||
.expectBody().consumeWith(document("default-snippets"));
|
||||
File defaultSnippetsDir = new File("target/generated-snippets/default-snippets");
|
||||
assertThat(defaultSnippetsDir).exists();
|
||||
assertThat(new File(defaultSnippetsDir, "curl-request.adoc"))
|
||||
|
||||
Reference in New Issue
Block a user