]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1285][MRM-404] improve appearance of the downloads box and correct handling...
authorBrett Porter <brett@apache.org>
Mon, 21 Dec 2009 11:42:47 +0000 (11:42 +0000)
committerBrett Porter <brett@apache.org>
Mon, 21 Dec 2009 11:42:47 +0000 (11:42 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@892774 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/ShowArtifactActionTest.java

index 196d7bb3e69c8174b5eb12ffeb5f1234b81c8963..dc43e0dd65168f84a12817955811d34295c99666 100644 (file)
@@ -380,10 +380,9 @@ public class ShowArtifactActionTest
             assertEquals( artifact.getId(), actual.getId() );
             assertEquals( artifact.getProject(), actual.getProject() );
             assertEquals( artifact.getRepositoryId(), actual.getRepositoryId() );
-            assertEquals( artifact.getSize(), actual.getSize() );
             assertEquals( artifact.getVersion(), actual.getVersion() );
             assertEquals( TEST_TYPE, actual.getType() );
-            assertEquals( TEST_SIZE, actual.getSize() );
+            assertEquals( "12.06 K", actual.getSize() );
             assertEquals( artifact.getNamespace() + "/" + artifact.getProject() + "/" + TEST_SNAPSHOT_VERSION + "/" +
                 artifact.getId(), actual.getPath() );
         }