mirror of
https://github.com/apache/archiva.git
synced 2025-02-06 18:19:02 +00:00
this should be fix unit test on ci server : again the famous it works on my machine :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164354 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
428ab46553
commit
56587c1e6d
@ -91,12 +91,13 @@ protected void setUp()
|
||||
|
||||
repositoryTaskSchedulerControl = MockClassControl.createControl( RepositoryArchivaTaskScheduler.class );
|
||||
repositoryTaskScheduler = (RepositoryArchivaTaskScheduler) repositoryTaskSchedulerControl.getMock();
|
||||
action.setRepositoryTaskScheduler( repositoryTaskScheduler );
|
||||
|
||||
location = new File( "target/test/location" );
|
||||
( (DefaultManagedRepositoryAdmin) getManagedRepositoryAdmin() ).setArchivaConfiguration( archivaConfiguration );
|
||||
( (DefaultManagedRepositoryAdmin) getManagedRepositoryAdmin() ).setRoleManager( roleManager );
|
||||
( (DefaultManagedRepositoryAdmin) getManagedRepositoryAdmin() ).setRegistry( registry );
|
||||
( (DefaultManagedRepositoryAdmin) getManagedRepositoryAdmin() ).setRepositoryTaskScheduler(
|
||||
repositoryTaskScheduler );
|
||||
action.setManagedRepositoryAdmin( getManagedRepositoryAdmin() );
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user