[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
This commit is contained in:
Brett Porter 2009-12-21 11:42:47 +00:00
parent 1f633d5244
commit 2a2fb9d321
1 changed files with 1 additions and 2 deletions

View File

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