diff --git a/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/maven/archiva/webdav/ArchivaDavResourceLocatorTest.java b/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/maven/archiva/webdav/ArchivaDavResourceLocatorTest.java index b7730c94d..c40ea1d65 100644 --- a/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/maven/archiva/webdav/ArchivaDavResourceLocatorTest.java +++ b/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/maven/archiva/webdav/ArchivaDavResourceLocatorTest.java @@ -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()