From: Brett Porter Date: Mon, 21 Dec 2009 11:42:47 +0000 (+0000) Subject: [MRM-1285][MRM-404] improve appearance of the downloads box and correct handling... X-Git-Tag: archiva-1.4-M1~1017^2~59 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2a2fb9d321925337c3f6436ab85e1a12fa602003;p=archiva.git [MRM-1285][MRM-404] improve appearance of the downloads box and correct handling of snapshots git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@892774 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/ShowArtifactActionTest.java b/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/ShowArtifactActionTest.java index 196d7bb3e..dc43e0dd6 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/ShowArtifactActionTest.java +++ b/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/ShowArtifactActionTest.java @@ -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() ); }