]> source.dussan.org Git - archiva.git/commitdiff
Fixed failing test
authorJames William Dumay <jdumay@apache.org>
Fri, 30 May 2008 04:03:59 +0000 (04:03 +0000)
committerJames William Dumay <jdumay@apache.org>
Fri, 30 May 2008 04:03:59 +0000 (04:03 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@661564 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/maven/archiva/webdav/ArchivaDavResourceLocatorTest.java

index b7730c94dc6ba14b1373e776e3bb3d76393ed153..c40ea1d65e7f02d05021c8f116904b69d7b82d13 100644 (file)
@@ -66,8 +66,8 @@ public class ArchivaDavResourceLocatorTest extends TestCase
         assertEquals("http://myproxy/", locator.getPrefix());
         assertEquals("http://myproxy/repository/internal", locator.getHref(false));
         assertEquals("http://myproxy/repository/internal/", locator.getHref(true));
-        assertEquals("repository/internal", locator.getResourcePath());
-        assertEquals("repository/internal", locator.getRepositoryPath());
+        assertEquals("/repository/internal", locator.getResourcePath());
+        assertEquals("/repository/internal", locator.getRepositoryPath());
     }
 
     public void testLocatorWithRootHref()