]> source.dussan.org Git - archiva.git/commitdiff
[MRM-462] fix test case
authorBrett Porter <brett@apache.org>
Wed, 12 Sep 2007 07:00:32 +0000 (07:00 +0000)
committerBrett Porter <brett@apache.org>
Wed, 12 Sep 2007 07:00:32 +0000 (07:00 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@574807 13f79535-47bb-0310-9956-ffa450edef68

MRM-462/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/admin/repositories/ConfigureRepositoryActionTest.java

index a7c7a106088913c088053327561a2c577ac37596..ebbf97273c488db24791d30c697a04df433a986a 100644 (file)
@@ -131,8 +131,6 @@ public class ConfigureRepositoryActionTest
         Configuration configuration = new Configuration();
         archivaConfiguration.getConfiguration();
         archivaConfigurationControl.setReturnValue( configuration );
-        archivaConfiguration.getConfiguration();
-        archivaConfigurationControl.setReturnValue( configuration );
 
         archivaConfiguration.save( configuration );
 
@@ -190,8 +188,6 @@ public class ConfigureRepositoryActionTest
         Configuration configuration = createConfigurationForEditing( createRepository() );
         archivaConfiguration.getConfiguration();
         archivaConfigurationControl.setReturnValue( configuration );
-        archivaConfiguration.getConfiguration();
-        archivaConfigurationControl.setReturnValue( configuration );
 
         archivaConfiguration.save( configuration );