mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-04 04:49:12 +00:00
Fix TestJettyOSGiWithAnnotations test.
This commit is contained in:
parent
efe694e2e4
commit
562ab9eb80
@ -144,7 +144,7 @@ public class TestJettyOSGiBootWithAnnotations
|
||||
assertEquals(HttpStatus.OK_200, response.getStatus());
|
||||
|
||||
String content = new String(response.getContent());
|
||||
assertTrue(content.contains("<h1>Servlet 3.1 Test WebApp</h1>"));
|
||||
assertTrue(content.contains("Test WebApp</h1>"));
|
||||
|
||||
Request req = client.POST("http://127.0.0.1:" + TestJettyOSGiBootCore.DEFAULT_HTTP_PORT + "/test");
|
||||
response = req.send();
|
||||
|
Loading…
x
Reference in New Issue
Block a user