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

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

index f1db5fd8084c863525fae5fcd2407c5bee05d6a4..d3ab7eb9211b4b1bf8f79cee4111e94b0d3afee1 100644 (file)
@@ -816,7 +816,9 @@ public abstract class AbstractMetadataRepositoryTest
         Collection<String> versions =
             repository.getArtifactVersions( TEST_REPO_ID, TEST_NAMESPACE, TEST_PROJECT, TEST_PROJECT_VERSION );
 
-        assertEquals( Collections.singleton( TEST_PROJECT_VERSION ), versions );
+        Assertions.assertThat( versions ).isNotNull().isNotEmpty().hasSize( 1 ).containsExactly( TEST_PROJECT_VERSION );
+
+        //assertEquals( Collections.singleton( TEST_PROJECT_VERSION ), versions );
     }
 
     @Test