take care of symlink on ci servers

git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@1523995 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2013-09-17 11:58:42 +00:00
parent 856a5e071f
commit c531ff6d01
1 changed files with 2 additions and 1 deletions

View File

@ -409,6 +409,7 @@ public class EditManagedRepositoryActionTest
private void assertRepositoryEquals( ManagedRepositoryConfiguration expectedRepository,
ManagedRepositoryConfiguration actualRepository )
throws IOException
{
assertEquals( expectedRepository.getDaysOlder(), actualRepository.getDaysOlder() );
assertEquals( expectedRepository.getId(), actualRepository.getId() );
@ -416,7 +417,7 @@ public class EditManagedRepositoryActionTest
assertEquals( expectedRepository.getLayout(), actualRepository.getLayout() );
assertEquals(
"expected: '" + expectedRepository.getLocation() + "' found '" + actualRepository.getLocation() + "'",
expectedRepository.getLocation(), actualRepository.getLocation() );
new File( expectedRepository.getLocation()).getCanonicalPath(), new File(actualRepository.getLocation()).getCanonicalPath() );
assertEquals( expectedRepository.getName(), actualRepository.getName() );
assertEquals( expectedRepository.getRefreshCronExpression(), actualRepository.getRefreshCronExpression() );
assertEquals( expectedRepository.getRetentionCount(), actualRepository.getRetentionCount() );