]> source.dussan.org Git - archiva.git/commitdiff
fix junit as now non absolute path is replace with appserver.base as parent
authorOlivier Lamy <olamy@apache.org>
Mon, 2 Apr 2012 21:32:57 +0000 (21:32 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 2 Apr 2012 21:32:57 +0000 (21:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308583 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/ManagedRepositoriesServiceTest.java

index 684b8529bd5cf4226fbd957abbce22cfefa7ca34..168cc6e7a8f3e8b6b6d5cdd5a7d63a3643bb26c9 100644 (file)
@@ -136,7 +136,8 @@ public class ManagedRepositoriesServiceTest
             assertNotNull( getUserService( authorizationHeader ).createGuestUser() );
         }
 
-        createAndIndexRepo( testRepoId, "src/test/repo-with-osgi" );
+        createAndIndexRepo( testRepoId,
+                            new File( System.getProperty( "basedir" ), "src/test/repo-with-osgi" ).getAbsolutePath() );
 
         ManagedRepositoriesService service = getManagedRepositoriesService( authorizationHeader );