summaryrefslogtreecommitdiffstats
path: root/archiva-modules/metadata
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2013-06-05 10:15:05 +0000
committerOlivier Lamy <olamy@apache.org>2013-06-05 10:15:05 +0000
commit0ed539a1d3ee6f00c7b5bf3ed6432390efe27149 (patch)
treefaad6dc90c710f59c945b1864059ff1200b1b84e /archiva-modules/metadata
parent318bb90f10ae4c7d07b525fde5924485c904efeb (diff)
downloadarchiva-0ed539a1d3ee6f00c7b5bf3ed6432390efe27149.tar.gz
archiva-0ed539a1d3ee6f00c7b5bf3ed6432390efe27149.zip
use fest assert
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1489791 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/metadata')
-rw-r--r--archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java6
1 files changed, 5 insertions, 1 deletions
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 2969da543..f1db5fd80 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
@@ -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