From e6577333866283c239810179aded550c968925de Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Tue, 14 Jan 2020 09:53:28 +0100 Subject: [PATCH] WIP:it --- src/test/java/de/juplo/demo/DemoApplicationIT.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/test/java/de/juplo/demo/DemoApplicationIT.java b/src/test/java/de/juplo/demo/DemoApplicationIT.java index 3e06567..00fdbd4 100644 --- a/src/test/java/de/juplo/demo/DemoApplicationIT.java +++ b/src/test/java/de/juplo/demo/DemoApplicationIT.java @@ -43,7 +43,7 @@ class DemoApplicationIT extends IntegrationTestBase .get() .uri(URI.create("http://S.U.T/?path=test.txt")) .exchange() - .expectStatus().is2xxSuccessful() + .expectStatus().isOk() .expectHeader().contentType(MediaType.TEXT_HTML) .expectBody(String.class).isEqualTo("Hello World!\n"); } @@ -57,8 +57,7 @@ class DemoApplicationIT extends IntegrationTestBase return new RemoteContentService( WebClient .builder() - .baseUrl("http://localhost:" + - DemoApplicationIT.MOCK_SERVER.getLocalPort()) + .baseUrl("http://localhost:" + MOCK_SERVER.getLocalPort()) .build()); } -- 2.20.1