mirror of
https://github.com/apache/archiva.git
synced 2025-03-06 16:39:13 +00:00
prevent possible unit test failure
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1342825 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7eb62f361a
commit
b07f0d8108
@ -18,6 +18,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
import org.apache.archiva.admin.model.beans.UiConfiguration;
|
||||
import org.apache.archiva.rest.api.model.Artifact;
|
||||
import org.apache.archiva.rest.api.model.SearchRequest;
|
||||
import org.apache.archiva.rest.api.services.SearchService;
|
||||
@ -212,7 +213,9 @@ public void searchWithSearchRequestBundleSymbolicNameTwoVersion()
|
||||
{
|
||||
assertNotNull( getUserService( authorizationHeader ).createGuestUser() );
|
||||
}
|
||||
|
||||
UiConfiguration uiConfiguration = new UiConfiguration();
|
||||
uiConfiguration.setApplicationUrl( null );
|
||||
getArchivaAdministrationService().setUiConfiguration( uiConfiguration );
|
||||
createAndIndexRepo( testRepoId, "src/test/repo-with-osgi" );
|
||||
|
||||
SearchService searchService = getSearchService( authorizationHeader );
|
||||
|
Loading…
x
Reference in New Issue
Block a user