From 2a2fb9d321925337c3f6436ab85e1a12fa602003 Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Mon, 21 Dec 2009 11:42:47 +0000 Subject: [PATCH] [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 --- .../maven/archiva/web/action/ShowArtifactActionTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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() ); } -- 2.39.5