From 8b766739ad8f7d7909cfa4d125260908646ea0a6 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 30 Aug 2011 16:11:21 +0000 Subject: [PATCH] oups olamy failed the build git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163271 13f79535-47bb-0310-9956-ffa450edef68 --- .../admin/repository/managed/ManagedRepositoryAdminTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 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 25d93da92..64a5eea6c 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 @@ -153,7 +153,7 @@ public class ManagedRepositoryAdminTest repo.setName( newName ); - repo.setLocation( APPSERVER_BASE_PATH + "new-path" ); + repo.setLocation( APPSERVER_BASE_PATH + "/new-path" ); managedRepositoryAdmin.updateManagedRepository( repo, false, getFakeAuditInformation() ); @@ -162,7 +162,7 @@ public class ManagedRepositoryAdminTest assertEquals( newName, repo.getName() ); assertEquals( new File( APPSERVER_BASE_PATH + "/new-path" ).getCanonicalPath(), new File( repo.getLocation() ).getCanonicalPath() ); - assertTrue( new File( APPSERVER_BASE_PATH + "new-path" ).exists() ); + assertTrue( new File( APPSERVER_BASE_PATH + "/new-path" ).exists() ); assertTrue( roleManager.templatedRoleExists( ArchivaRoleConstants.TEMPLATE_REPOSITORY_OBSERVER, "test-new-one" ) );