WIP:itflux
authorKai Moritz <kai@juplo.de>
Tue, 14 Jan 2020 12:20:22 +0000 (13:20 +0100)
committerKai Moritz <kai@juplo.de>
Tue, 14 Jan 2020 12:20:22 +0000 (13:20 +0100)
src/test/java/de/juplo/demo/DemoApplicationIT.java

index 73105b2..1d8e7ac 100644 (file)
@@ -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