mirror of https://github.com/apache/archiva.git
fix test compilation issue
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233309 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cbb1fdef2d
commit
0cb6235dfa
|
@ -23,6 +23,7 @@ import junit.framework.TestCase;
|
|||
import org.apache.archiva.admin.model.RepositoryAdminException;
|
||||
import org.apache.archiva.admin.model.beans.ManagedRepository;
|
||||
import org.apache.archiva.admin.model.beans.RepositoryGroup;
|
||||
import org.apache.archiva.admin.repository.DefaultRepositoryCommonValidator;
|
||||
import org.apache.archiva.admin.repository.group.DefaultRepositoryGroupAdmin;
|
||||
import org.apache.archiva.admin.repository.managed.DefaultManagedRepositoryAdmin;
|
||||
import org.apache.archiva.common.plexusbridge.PlexusSisuBridge;
|
||||
|
@ -136,7 +137,8 @@ public class ArchivaDavResourceFactoryTest
|
|||
archivaConfigurationControl.replay();
|
||||
|
||||
defaultManagedRepositoryAdmin.setArchivaConfiguration( archivaConfiguration );
|
||||
defaultManagedRepositoryAdmin.getRepositoryCommonValidator().setArchivaConfiguration( archivaConfiguration );
|
||||
( (DefaultRepositoryCommonValidator) defaultManagedRepositoryAdmin.getRepositoryCommonValidator() ).setArchivaConfiguration(
|
||||
archivaConfiguration );
|
||||
if ( defaultManagedRepositoryAdmin.getManagedRepository( RELEASES_REPO ) == null )
|
||||
{
|
||||
defaultManagedRepositoryAdmin.addManagedRepository(
|
||||
|
|
Loading…
Reference in New Issue