From a75665cc269e2c16441b30763b3d8dae69f4170e Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Tue, 14 Jan 2020 13:20:22 +0100 Subject: [PATCH] WIP:itflux --- src/test/java/de/juplo/demo/DemoApplicationIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1