diff options
-rw-r--r-- | java/sca/itest/distribution/webapp-helloworld-jms/src/test/java/itest/HelloworldTestCase.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/sca/itest/distribution/webapp-helloworld-jms/src/test/java/itest/HelloworldTestCase.java b/java/sca/itest/distribution/webapp-helloworld-jms/src/test/java/itest/HelloworldTestCase.java index 7bcd590cf0..bc436667c8 100644 --- a/java/sca/itest/distribution/webapp-helloworld-jms/src/test/java/itest/HelloworldTestCase.java +++ b/java/sca/itest/distribution/webapp-helloworld-jms/src/test/java/itest/HelloworldTestCase.java @@ -38,11 +38,12 @@ public class HelloworldTestCase { @Test
public void testA() throws FailingHttpStatusCodeException, MalformedURLException, IOException {
- HtmlPage page = (HtmlPage)new WebClient().getPage("http://localhost:8085/helloworld-jsp");
+ HtmlPage page = (HtmlPage)new WebClient().getPage("http://localhost:8085/helloworld-jms");
Iterator<?> ss = page.getAllHtmlChildElements();
ss.next();
ss.next();
ss.next();
+ ss.next();
HtmlParagraph p = (HtmlParagraph)ss.next();
assertEquals("Hello world", p.asText());
}
|