archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sk...@apache.org
Subject svn commit: r1386879 - /archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/archiva/web/action/ShowArtifactActionTest.java
Date Mon, 17 Sep 2012 22:25:55 GMT
Author: skygo
Date: Mon Sep 17 22:25:55 2012
New Revision: 1386879

URL: http://svn.apache.org/viewvc?rev=1386879&view=rev
Log:
more MRM-1638 fix

Modified:
    archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/archiva/web/action/ShowArtifactActionTest.java

Modified: archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/archiva/web/action/ShowArtifactActionTest.java
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/archiva/web/action/ShowArtifactActionTest.java?rev=1386879&r1=1386878&r2=1386879&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/archiva/web/action/ShowArtifactActionTest.java
(original)
+++ archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/archiva/web/action/ShowArtifactActionTest.java
Mon Sep 17 22:25:55 2012
@@ -391,7 +391,6 @@ public class ShowArtifactActionTest
         action.setGroupId( TEST_GROUP_ID );
         action.setArtifactId( TEST_ARTIFACT_ID );
         action.setVersion( TEST_SNAPSHOT_VERSION );
-        ;
 
         String result = action.artifact();
 
@@ -465,6 +464,7 @@ public class ShowArtifactActionTest
     public void testGetDependees()
         throws Exception
     {
+        setObservableRepos( Arrays.asList( TEST_REPO ) );
         ProjectVersionMetadata versionMetadata = createProjectModel( TEST_VERSION );
         metadataResolver.setProjectVersion( TEST_REPO, TEST_GROUP_ID, TEST_ARTIFACT_ID, versionMetadata
);
         ProjectVersionReference dependee1 = createReference( "artifactId1" );



Mime
View raw message