aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/metadata
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2013-06-03 12:54:12 +0000
committerOlivier Lamy <olamy@apache.org>2013-06-03 12:54:12 +0000
commit0cd9f36d9d2cef0de350f12f3357609ea862e9d9 (patch)
tree985b877f968602ace19ff4d4dc5470a13ef0cc2d /archiva-modules/metadata
parentffaeb1811887644d2b819c4a496d4e35ba5f63bf (diff)
downloadarchiva-0cd9f36d9d2cef0de350f12f3357609ea862e9d9.tar.gz
archiva-0cd9f36d9d2cef0de350f12f3357609ea862e9d9.zip
use fest assert
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1488980 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/metadata')
-rw-r--r--archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java b/archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java
index e359c0c74..abc3e9384 100644
--- a/archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java
+++ b/archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java
@@ -1265,7 +1265,9 @@ public abstract class AbstractMetadataRepositoryTest
repository.removeProject( TEST_REPO_ID, TEST_NAMESPACE, TEST_PROJECT );
- assertEquals( 0, repository.getProjectVersions( TEST_REPO_ID, TEST_NAMESPACE, TEST_PROJECT ).size() );
+ Collection<String> versions = repository.getProjectVersions( TEST_REPO_ID, TEST_NAMESPACE, TEST_PROJECT );
+
+ Assertions.assertThat( versions ).isNotNull().isEmpty();
}