From a89f84536fd6e0a49fd0a6d16a0fcb0cf1e029cf Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Wed, 5 Jun 2013 13:18:47 +0000 Subject: [PATCH] use fest assert to prevent issues with collection types git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1489848 13f79535-47bb-0310-9956-ffa450edef68 --- .../metadata/repository/AbstractMetadataRepositoryTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 787f754e2..c3fa54ed0 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 @@ -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 );