aboutsummaryrefslogtreecommitdiff
path: root/juick-xmpp-wip/src/test/java/com/juick/xmpp
diff options
context:
space:
mode:
Diffstat (limited to 'juick-xmpp-wip/src/test/java/com/juick/xmpp')
-rw-r--r--juick-xmpp-wip/src/test/java/com/juick/xmpp/XMPPTests.java10
1 files changed, 2 insertions, 8 deletions
diff --git a/juick-xmpp-wip/src/test/java/com/juick/xmpp/XMPPTests.java b/juick-xmpp-wip/src/test/java/com/juick/xmpp/XMPPTests.java
index d154128c..e513c5e7 100644
--- a/juick-xmpp-wip/src/test/java/com/juick/xmpp/XMPPTests.java
+++ b/juick-xmpp-wip/src/test/java/com/juick/xmpp/XMPPTests.java
@@ -17,11 +17,10 @@
package com.juick.xmpp;
-import com.gargoylesoftware.htmlunit.Page;
import com.gargoylesoftware.htmlunit.WebClient;
import com.juick.components.XMPPConnection;
-import com.juick.components.configuration.XmppAppConfiguration;
import com.juick.components.XMPPRouter;
+import com.juick.components.configuration.XmppAppConfiguration;
import com.juick.configuration.MockDataConfiguration;
import com.juick.server.configuration.BaseWebConfiguration;
import com.juick.service.ShowQueriesService;
@@ -47,7 +46,6 @@ import rocks.xmpp.core.stanza.model.Message;
import rocks.xmpp.extensions.component.accept.ExternalComponent;
import javax.inject.Inject;
-import java.io.IOException;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
@@ -79,11 +77,7 @@ public class XMPPTests {
webClient = MockMvcWebClientBuilder.webAppContextSetup(this.wac).build();
webClient.getOptions().setJavaScriptEnabled(false);
}
- @Test
- public void statusPageIsUp() throws IOException {
- Page statusPage = webClient.getPage("http://localhost:8080/status");
- assertThat(statusPage.getWebResponse().getStatusCode(), equalTo(200));
- }
+
@Inject
XMPPRouter router;
@Inject