Configuration configuration = createConfigurationForEditing( origRepoGroup );
archivaConfiguration.getConfiguration();
- archivaConfigurationControl.setReturnValue( configuration );
+ archivaConfigurationControl.setReturnValue( configuration, 2 );
archivaConfigurationControl.replay();
action.setRepoGroupId( REPO_GROUP_ID );
Configuration configuration = createConfigurationForEditing( createRepositoryGroup() );
archivaConfiguration.getConfiguration();
- archivaConfigurationControl.setReturnValue( configuration, 5 );
+ archivaConfigurationControl.setReturnValue( configuration, 7 );
archivaConfiguration.save( configuration );
archivaConfigurationControl.replay();
Configuration configuration = createConfigurationForEditing( origRepoGroup );
archivaConfiguration.getConfiguration();
- archivaConfigurationControl.setReturnValue( configuration, 2 );
+ archivaConfigurationControl.setReturnValue( configuration, 4 );
archivaConfiguration.save( configuration );
archivaConfigurationControl.replay();
{
Configuration configuration = createConfigurationForEditing( createRepository() );
archivaConfiguration.getConfiguration();
- archivaConfigurationControl.setReturnValue( configuration );
- archivaConfigurationControl.setReturnValue( configuration );
- archivaConfigurationControl.setReturnValue( configuration );
+ archivaConfigurationControl.setReturnValue( configuration, 4, 6 );
archivaConfiguration.save( configuration );
archivaConfigurationControl.replay();
Configuration configuration = createConfigurationForEditing( createRepository() );
archivaConfiguration.getConfiguration();
- archivaConfigurationControl.setReturnValue( configuration );
+ archivaConfigurationControl.setReturnValue( configuration, 2 );
archivaConfigurationControl.replay();
action.setRepoid( REPO_ID );
throws SecureActionException, RepositoryAdminException
{
archivaConfiguration.getConfiguration();
- archivaConfigurationControl.setReturnValue( new Configuration(), 3 );
+ archivaConfigurationControl.setReturnValue( new Configuration(), 3, 5 );
archivaConfigurationControl.replay();
action.prepare();
{
Configuration configuration = new Configuration();
archivaConfiguration.getConfiguration();
- archivaConfigurationControl.setReturnValue( configuration, 6 );
+ archivaConfigurationControl.setReturnValue( configuration, 6, 8 );
archivaConfiguration.save( configuration );
archivaConfigurationControl.replay();
{
Configuration configuration = new Configuration();
archivaConfiguration.getConfiguration();
- archivaConfigurationControl.setReturnValue( configuration, 5 );
+ archivaConfigurationControl.setReturnValue( configuration, 5, 7 );
archivaConfiguration.save( configuration );
{
Configuration configuration = new Configuration();
archivaConfiguration.getConfiguration();
- archivaConfigurationControl.setReturnValue( configuration, 8 );
+ archivaConfigurationControl.setReturnValue( configuration, 10, 12 );
archivaConfiguration.save( configuration );
Configuration configuration = createInitialConfiguration();
archivaConfiguration.getConfiguration();
- archivaConfigurationControl.setReturnValue( configuration, 6 );
+ archivaConfigurationControl.setReturnValue( configuration, 6, 8 );
archivaConfigurationControl.replay();
action.setServletRequest( sc.newInvocation( "http://localhost/admin/repositoryGroups.action" ).getRequest() );
Configuration configuration = createInitialConfiguration();
archivaConfiguration.getConfiguration();
- archivaConfigurationControl.setReturnValue( configuration, 17 );
+ archivaConfigurationControl.setReturnValue( configuration, 20, 24 );
archivaConfiguration.save( configuration );
archivaConfigurationControl.replay();
Configuration configuration = createInitialConfiguration();
archivaConfiguration.getConfiguration();
- archivaConfigurationControl.setReturnValue( configuration, 13 );
+ archivaConfigurationControl.setReturnValue( configuration, 19, 22 );
archivaConfiguration.save( configuration );
archivaConfigurationControl.replay();
Configuration configuration = createInitialConfiguration();
archivaConfiguration.getConfiguration();
- archivaConfigurationControl.setReturnValue( configuration, 6 );
+ archivaConfigurationControl.setReturnValue( configuration, 6, 10 );
archivaConfiguration.save( configuration );
archivaConfigurationControl.replay();
Configuration configuration = createInitialConfiguration();
archivaConfiguration.getConfiguration();
- archivaConfigurationControl.setReturnValue( configuration, 6 );
+ archivaConfigurationControl.setReturnValue( configuration, 6, 10 );
archivaConfiguration.save( configuration );
archivaConfigurationControl.replay();