aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--archiva-modules/archiva-base/archiva-repository-admin/src/test/java/org/apache/archiva/admin/repository/managed/ManagedRepositoryAdminTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/archiva-modules/archiva-base/archiva-repository-admin/src/test/java/org/apache/archiva/admin/repository/managed/ManagedRepositoryAdminTest.java b/archiva-modules/archiva-base/archiva-repository-admin/src/test/java/org/apache/archiva/admin/repository/managed/ManagedRepositoryAdminTest.java
index 2457ad7e7..25d93da92 100644
--- a/archiva-modules/archiva-base/archiva-repository-admin/src/test/java/org/apache/archiva/admin/repository/managed/ManagedRepositoryAdminTest.java
+++ b/archiva-modules/archiva-base/archiva-repository-admin/src/test/java/org/apache/archiva/admin/repository/managed/ManagedRepositoryAdminTest.java
@@ -160,7 +160,8 @@ public class ManagedRepositoryAdminTest
repo = managedRepositoryAdmin.getManagedRepository( "test-new-one" );
assertNotNull( repo );
assertEquals( newName, repo.getName() );
- assertEquals( APPSERVER_BASE_PATH + "new-path", repo.getLocation() );
+ assertEquals( new File( APPSERVER_BASE_PATH + "/new-path" ).getCanonicalPath(),
+ new File( repo.getLocation() ).getCanonicalPath() );
assertTrue( new File( APPSERVER_BASE_PATH + "new-path" ).exists() );
assertTrue(