]> source.dussan.org Git - archiva.git/commitdiff
fix unit
authorOlivier Lamy <olamy@apache.org>
Tue, 10 Jun 2014 17:02:49 +0000 (03:02 +1000)
committerOlivier Lamy <olamy@apache.org>
Tue, 10 Jun 2014 17:02:49 +0000 (03:02 +1000)
archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/ArchivaDavResourceFactoryTest.java

index ddd0c087cdeb0e10a2cdecd4a88705e653a1ee15..b8e460e26e48475046db527429ad1bdceed29c1a 100644 (file)
@@ -232,7 +232,7 @@ public class ArchivaDavResourceFactoryTest
 
             expect( archivaConfiguration.getConfiguration() ).andReturn( config ).times( 3 );
 
-            expect( request.getMethod() ).andReturn( "GET" ).times( 2 );
+            expect( request.getMethod() ).andReturn( "GET" ).times( 3 );
 
             expect( request.getPathInfo() ).andReturn( "org/apache/archiva" ).times( 0, 2 );
 
@@ -310,7 +310,7 @@ public class ArchivaDavResourceFactoryTest
 
             expect( archivaConfiguration.getConfiguration() ).andReturn( config ).times( 3 );
 
-            expect( request.getMethod() ).andReturn( "GET" ).times( 2 );
+            expect( request.getMethod() ).andReturn( "GET" ).times( 3 );
 
             expect( request.getPathInfo() ).andReturn( "org/apache/archiva" ).times( 0, 2 );
 
@@ -392,7 +392,7 @@ public class ArchivaDavResourceFactoryTest
 
             expect( archivaConfiguration.getConfiguration() ).andReturn( config ).times( 3 );
 
-            expect( request.getMethod() ).andReturn( "GET" ).times( 4 );
+            expect( request.getMethod() ).andReturn( "GET" ).times( 5 );
 
             expect( request.getPathInfo() ).andReturn( "org/apache/archiva" ).times( 0, 2 );
 
@@ -470,7 +470,7 @@ public class ArchivaDavResourceFactoryTest
 
             expect( repoFactory.getManagedRepositoryContent( INTERNAL_REPO ) ).andReturn( internalRepo );
 
-            expect( request.getMethod() ).andReturn( "GET" ).times( 3 );
+            expect( request.getMethod() ).andReturn( "GET" ).times( 4 );
 
             expect( request.getRemoteAddr() ).andReturn( "http://localhost:8080" ).times( 3 );
 
@@ -582,7 +582,7 @@ public class ArchivaDavResourceFactoryTest
 
             expect( repoFactory.getManagedRepositoryContent( LEGACY_REPO ) ).andReturn( legacyRepo );
 
-            expect( request.getMethod() ).andReturn( "GET" ).times( 2 );
+            expect( request.getMethod() ).andReturn( "GET" ).times( 3 );
 
             expect( request.getRemoteAddr() ).andReturn( "http://localhost:8080" ).times( 3 );