From: Olivier Lamy Date: Mon, 2 Apr 2012 21:32:57 +0000 (+0000) Subject: fix junit as now non absolute path is replace with appserver.base as parent X-Git-Tag: archiva-1.4-M3~855 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4bc3a05a3b3cc2b61840ce400bae59239a214e1c;p=archiva.git fix junit as now non absolute path is replace with appserver.base as parent git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308583 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/ManagedRepositoriesServiceTest.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/ManagedRepositoriesServiceTest.java index 684b8529b..168cc6e7a 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/ManagedRepositoriesServiceTest.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/ManagedRepositoriesServiceTest.java @@ -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 );