From: Kai Moritz Date: Tue, 14 Jan 2020 12:20:22 +0000 (+0100) Subject: WIP:itflux X-Git-Tag: wip-it~1 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=a75665cc269e2c16441b30763b3d8dae69f4170e;p=demos%2Ftesting WIP:itflux --- diff --git a/src/test/java/de/juplo/demo/DemoApplicationIT.java b/src/test/java/de/juplo/demo/DemoApplicationIT.java index 73105b2..1d8e7ac 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!"); + .expectBody().xpath("/html/body/main/div/div").isEqualTo("Hello World!"); } @Configuration