]> source.dussan.org Git - archiva.git/commitdiff
use fest assert
authorOlivier Lamy <olamy@apache.org>
Mon, 3 Jun 2013 12:54:12 +0000 (12:54 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 3 Jun 2013 12:54:12 +0000 (12:54 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1488980 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java

index e359c0c747978256f1cd2efb75abc8c8273f2717..abc3e9384b7b19c11baa7eee505f6d452a2ed7f2 100644 (file)
@@ -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();
     }