sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r1700222 - /sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/WebDavDoubleSlashTest.java
Date Mon, 31 Aug 2015 09:30:43 GMT
Author: bdelacretaz
Date: Mon Aug 31 09:30:42 2015
New Revision: 1700222

URL: http://svn.apache.org/r1700222
Log:
SLING-4976 - this variant of the test passes against trunk

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

Modified: sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/WebDavDoubleSlashTest.java
URL: http://svn.apache.org/viewvc/sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/WebDavDoubleSlashTest.java?rev=1700222&r1=1700221&r2=1700222&view=diff
==============================================================================
--- sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/WebDavDoubleSlashTest.java
(original)
+++ sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/WebDavDoubleSlashTest.java
Mon Aug 31 09:30:42 2015
@@ -65,6 +65,9 @@ public class WebDavDoubleSlashTest {
     
     @Test
     public void testEmptyWorkspace() throws HttpException, IOException {
-        assertEquals(207, getPropfindStatus("", testPath));
+        // An empty JCR workspace name results in a URL like "/dav//test/..."
+        // which correctly returns 404 now, but used to work as the WebDAV
+        // servlets used the default workspace name in that case.
+        assertEquals(404, getPropfindStatus("", testPath));
     }
 }
\ No newline at end of file



Mime
View raw message