From 4bc3a05a3b3cc2b61840ce400bae59239a214e1c Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 2 Apr 2012 21:32:57 +0000 Subject: [PATCH] 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 --- .../archiva/rest/services/ManagedRepositoriesServiceTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ); -- 2.39.5