diff options
author | Brett Porter <brett@apache.org> | 2009-12-21 11:42:47 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2009-12-21 11:42:47 +0000 |
commit | 2a2fb9d321925337c3f6436ab85e1a12fa602003 (patch) | |
tree | 1ba06bd2c705f728ab7b20f79ab81c321946042f /archiva-modules | |
parent | 1f633d5244e2cf1cb7721b666758fbfec8b3625e (diff) | |
download | archiva-2a2fb9d321925337c3f6436ab85e1a12fa602003.tar.gz archiva-2a2fb9d321925337c3f6436ab85e1a12fa602003.zip |
[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
Diffstat (limited to 'archiva-modules')
-rw-r--r-- | archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/ShowArtifactActionTest.java | 3 |
1 files changed, 1 insertions, 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() ); } |