]> source.dussan.org Git - archiva.git/commitdiff
fix unit tests for archiva-rest-services module
authorOlivier Lamy <olamy@apache.org>
Thu, 7 Feb 2013 11:02:45 +0000 (11:02 +0000)
committerOlivier Lamy <olamy@apache.org>
Thu, 7 Feb 2013 11:02:45 +0000 (11:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443406 13f79535-47bb-0310-9956-ffa450edef68

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

index 64af13394666874e42382c1acb7936cffe0d9b5f..d44461ed41981869b920cd6e04559e035aaa17b7 100644 (file)
@@ -255,7 +255,7 @@ public class SearchServiceTest
             assertNotNull( getUserService( authorizationHeader ).createGuestUser() );
         }
 
-        createAndIndexRepo( testRepoId, "/src/test/repo-with-osgi" );
+        createAndIndexRepo( testRepoId, getBasedir() + "/src/test/repo-with-osgi" );
 
         SearchService searchService = getSearchService( authorizationHeader );