Skip to content

Commit c2d91f0

Browse files
committed
[WFLY-19371] changes in commit
1 parent 810d3fd commit c2d91f0

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

helloworld-singleton/src/main/webapp/index.html

-2
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,10 @@
1717
<!DOCTYPE html>
1818
<!-- Plain HTML page that kicks us into the app -->
1919
<html>
20-
<html lang="en">
2120
<head>
2221
<meta charset="UTF-8">
2322
<title>helloworld singleton</title>
2423
</head>
25-
</html>
2624
<body>
2725
<div style="text-align:center">
2826

helloworld-singleton/src/test/java/org/jboss/as/quickstarts/singleton/BasicRuntimeIT.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti
5454
final HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
5555
Assertions.assertEquals(200, response.statusCode());
5656
final String[] bodyLines = response.body().toString().split(System.lineSeparator());
57-
Assertions.assertEquals("</div>", bodyLines[bodyLines.length-3]);
57+
Assertions.assertEquals(" <title>helloworld singleton</title>", bodyLines[bodyLines.length-12]);
5858
}
5959
}

0 commit comments

Comments
 (0)