From e8920c230d5f29b770cd79af03a38eadf10d165d Mon Sep 17 00:00:00 2001 From: Maxime Sinclair Date: Wed, 27 Nov 2013 11:54:20 +0100 Subject: [PATCH] [TASK] Test cleanup --- src/main/webapp/index.jsp | 5 ----- .../java/net/sourceforge/plantuml/servlet/TestOldProxy.java | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index a4107a4..4d4f716 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -73,11 +73,6 @@

- <%-- FOOTER --%> <%@ include file="footer.jspf" %> diff --git a/src/test/java/net/sourceforge/plantuml/servlet/TestOldProxy.java b/src/test/java/net/sourceforge/plantuml/servlet/TestOldProxy.java index d9fdc5b..e304ee1 100644 --- a/src/test/java/net/sourceforge/plantuml/servlet/TestOldProxy.java +++ b/src/test/java/net/sourceforge/plantuml/servlet/TestOldProxy.java @@ -15,7 +15,7 @@ public class TestOldProxy extends WebappTestCase { */ public void testDefaultProxy() throws Exception { WebConversation conversation = new WebConversation(); - WebRequest request = new GetMethodWebRequest(getServerUrl() + "proxy/" + getServerUrl() + "welcome"); + WebRequest request = new GetMethodWebRequest(getServerUrl() + "proxy/" + getServerUrl() + "resource/test2diagrams.txt"); WebResponse response = conversation.getResource(request); // Analyze response // Verifies the Content-Type header @@ -38,7 +38,7 @@ public class TestOldProxy extends WebappTestCase { public void testProxyWithFormat() throws Exception { WebConversation conversation = new WebConversation(); - WebRequest request = new GetMethodWebRequest(getServerUrl() + "proxy/svg/" + getServerUrl() + "welcome"); + WebRequest request = new GetMethodWebRequest(getServerUrl() + "proxy/svg/" + getServerUrl() + "resource/test2diagrams.txt"); WebResponse response = conversation.getResource(request); // Analyze response // Verifies the Content-Type header