incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jus...@apache.org
Subject svn commit: r1060181 - /sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/servlets/post/PostServletOutputContentTypeTest.java
Date Tue, 18 Jan 2011 04:01:56 GMT
Author: justin
Date: Tue Jan 18 04:01:55 2011
New Revision: 1060181

URL: http://svn.apache.org/viewvc?rev=1060181&view=rev
Log:
don't create a path with two slashes in it.

Modified:
    sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/servlets/post/PostServletOutputContentTypeTest.java

Modified: sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/servlets/post/PostServletOutputContentTypeTest.java
URL: http://svn.apache.org/viewvc/sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/servlets/post/PostServletOutputContentTypeTest.java?rev=1060181&r1=1060180&r2=1060181&view=diff
==============================================================================
--- sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/servlets/post/PostServletOutputContentTypeTest.java
(original)
+++ sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/servlets/post/PostServletOutputContentTypeTest.java
Tue Jan 18 04:01:55 2011
@@ -30,7 +30,7 @@ public class PostServletOutputContentTyp
     
     private void runTest(String acceptHeaderValue, boolean useHttpEquiv, String expectedContentType)
throws Exception {
         final String info = (useHttpEquiv ? "Using http-equiv parameter" : "Using Accept
header") + ": ";
-        final String url = HTTP_BASE_URL + "/" + MY_TEST_PATH;
+        final String url = HTTP_BASE_URL + MY_TEST_PATH;
         final PostMethod post = new PostMethod(url);
         post.setFollowRedirects(false);
         



Mime
View raw message