diff --git a/playground-backend/src/main/java/ch/sbb/playgroundbackend/controller/HelloWorldController.java b/playground-backend/src/main/java/ch/sbb/playgroundbackend/controller/HelloWorldController.java index 52db01a4..c9c427e0 100644 --- a/playground-backend/src/main/java/ch/sbb/playgroundbackend/controller/HelloWorldController.java +++ b/playground-backend/src/main/java/ch/sbb/playgroundbackend/controller/HelloWorldController.java @@ -8,7 +8,7 @@ public class HelloWorldController { @GetMapping String get() { - return "Hello DAS Test fail"; + return "Hello DAS Test"; } } diff --git a/playground-backend/src/test/java/ch/sbb/playgroundbackend/controller/HelloWorldControllerTest.java b/playground-backend/src/test/java/ch/sbb/playgroundbackend/controller/HelloWorldControllerTest.java index 4ee14cbe..6c65ef96 100644 --- a/playground-backend/src/test/java/ch/sbb/playgroundbackend/controller/HelloWorldControllerTest.java +++ b/playground-backend/src/test/java/ch/sbb/playgroundbackend/controller/HelloWorldControllerTest.java @@ -21,6 +21,6 @@ class HelloWorldControllerTest { @Test void getShouldReturnDefaultMessage() { assertThat(this.restTemplate.getForObject("http://localhost:" + port + "/", String.class)) - .contains("Hello DAS Playground"); + .contains("Hello DAS Test"); } }