mirror of https://github.com/apache/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
This commit is contained in:
parent
1f633d5244
commit
2a2fb9d321
|
@ -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() );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue