From: Kai Moritz Date: Tue, 14 Jan 2020 11:56:12 +0000 (+0100) Subject: TMP X-Git-Tag: wip-it~2 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=3c215796ebc158f2c2f2c8737c6b07453acef312;p=demos%2Ftesting TMP --- diff --git a/src/test/java/de/juplo/demo/DemoApplicationIT.java b/src/test/java/de/juplo/demo/DemoApplicationIT.java index 92830b8..73105b2 100644 --- a/src/test/java/de/juplo/demo/DemoApplicationIT.java +++ b/src/test/java/de/juplo/demo/DemoApplicationIT.java @@ -36,7 +36,7 @@ class DemoApplicationIT extends IntegrationTestBase .exchange() .expectStatus().isOk() .expectHeader().contentType(MediaType.TEXT_HTML) - .expectBody().xpath("/html/body/main/div/div/pre", "Hello World!\n"); + .expectBody().xpath("/html/body/main/div/div", "pre", "Hello World!"); } @Configuration