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

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

index 2969da5435e6da01ed87c9ff9a2afaabca626934..f1db5fd8084c863525fae5fcd2407c5bee05d6a4 100644 (file)
@@ -1019,7 +1019,11 @@ public abstract class AbstractMetadataRepositoryTest
         metadata.setId( TEST_PROJECT_VERSION );
         repository.updateProjectVersion( TEST_REPO_ID, namespace, TEST_PROJECT, metadata );
 
-        assertEquals( Collections.<String>emptyList(), repository.getNamespaces( TEST_REPO_ID, namespace ) );
+        Collection<String> namespaces = repository.getNamespaces( TEST_REPO_ID, namespace );
+
+        Assertions.assertThat( namespaces ).isNotNull().isEmpty();
+
+        //assertEquals( Collections.<String>emptyList(),  );
     }
 
     @Test