diff --git a/helloworld-singleton/src/main/webapp/index.html b/helloworld-singleton/src/main/webapp/index.html index 0897d6b00e..616f536dd2 100644 --- a/helloworld-singleton/src/main/webapp/index.html +++ b/helloworld-singleton/src/main/webapp/index.html @@ -14,10 +14,20 @@ See the License for the specific language governing permissions and limitations under the License. --> + - - + + helloworld singleton - + +
+ +

Hello There! Welcome to WildFly!

+

The helloworld-singleton application has been deployed and running successfully.

+ Access the helloworld-singleton application here + +
+ + \ No newline at end of file diff --git a/helloworld-singleton/src/test/java/org/jboss/as/quickstarts/singleton/BasicRuntimeIT.java b/helloworld-singleton/src/test/java/org/jboss/as/quickstarts/singleton/BasicRuntimeIT.java index e62d19a170..01c7714362 100644 --- a/helloworld-singleton/src/test/java/org/jboss/as/quickstarts/singleton/BasicRuntimeIT.java +++ b/helloworld-singleton/src/test/java/org/jboss/as/quickstarts/singleton/BasicRuntimeIT.java @@ -54,6 +54,6 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti final HttpResponse response = client.send(request, HttpResponse.BodyHandlers.ofString()); Assertions.assertEquals(200, response.statusCode()); final String[] bodyLines = response.body().toString().split(System.lineSeparator()); - Assertions.assertEquals("", bodyLines[bodyLines.length-3]); + Assertions.assertEquals(" helloworld singleton", bodyLines[bodyLines.length-12]); } -} +} \ No newline at end of file