diff --git a/src/test/java/com/learnwebservices/services/hello/HelloWebClientIT.java b/src/test/java/com/learnwebservices/services/hello/HelloWebClientIT.java index e1eec01..ff5d8d5 100644 --- a/src/test/java/com/learnwebservices/services/hello/HelloWebClientIT.java +++ b/src/test/java/com/learnwebservices/services/hello/HelloWebClientIT.java @@ -14,22 +14,26 @@ class HelloWebClientIT { @Test void testHello() { - String request = "\n" + - " \n" + - " \n" + - " \n" + - " John Doe\n" + - " \n" + - " \n" + - ""; + String request = """ + + + + + John Doe + + + + """; - String response = "\n" + - " \n" + - " \n" + - " Hello John Doe!\n" + - " \n" + - " \n" + - ""; + String response = """ + + + + Hello John Doe! + + + + """; webClient .post()