Fixed failing test

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@661564 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James William Dumay 2008-05-30 04:03:59 +00:00
parent 721f552dfa
commit 86628294c8
1 changed files with 2 additions and 2 deletions

View File

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