]> source.dussan.org Git - archiva.git/commitdiff
use fest assert to prevent issues with collection types
authorOlivier Lamy <olamy@apache.org>
Wed, 5 Jun 2013 13:18:47 +0000 (13:18 +0000)
committerOlivier Lamy <olamy@apache.org>
Wed, 5 Jun 2013 13:18:47 +0000 (13:18 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1489848 13f79535-47bb-0310-9956-ffa450edef68

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

index 787f754e2cac7dd61a63c291aaf958e0fb8bc6c1..c3fa54ed001c0d189aa896d965a6b17adf593039 100644 (file)
@@ -134,7 +134,7 @@ public abstract class AbstractMetadataRepositoryTest
     public void testGetNamespaceOnly()
         throws Exception
     {
-        assertEquals( Collections.emptyList(), repository.getRootNamespaces( TEST_REPO_ID ) );
+        Assertions.assertThat( repository.getRootNamespaces( TEST_REPO_ID ) ).isNotNull().isEmpty();
 
         repository.updateNamespace( TEST_REPO_ID, TEST_NAMESPACE );