You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ol...@apache.org on 2014/06/10 19:02:57 UTC

git commit: fix unit

Repository: archiva
Updated Branches:
  refs/heads/master 2124e24a1 -> d93e36e62


fix unit


Project: http://git-wip-us.apache.org/repos/asf/archiva/repo
Commit: http://git-wip-us.apache.org/repos/asf/archiva/commit/d93e36e6
Tree: http://git-wip-us.apache.org/repos/asf/archiva/tree/d93e36e6
Diff: http://git-wip-us.apache.org/repos/asf/archiva/diff/d93e36e6

Branch: refs/heads/master
Commit: d93e36e62d6fd85eaac59682e8b9ad839004b8f1
Parents: 2124e24
Author: Olivier Lamy <ol...@apache.org>
Authored: Wed Jun 11 03:02:49 2014 +1000
Committer: Olivier Lamy <ol...@apache.org>
Committed: Wed Jun 11 03:02:49 2014 +1000

----------------------------------------------------------------------
 .../archiva/webdav/ArchivaDavResourceFactoryTest.java     | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/archiva/blob/d93e36e6/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/ArchivaDavResourceFactoryTest.java
----------------------------------------------------------------------
diff --git a/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/ArchivaDavResourceFactoryTest.java b/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/ArchivaDavResourceFactoryTest.java
index ddd0c08..b8e460e 100644
--- a/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/ArchivaDavResourceFactoryTest.java
+++ b/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/ArchivaDavResourceFactoryTest.java
@@ -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 );