aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2013-06-07 12:58:49 +0000
committerOlivier Lamy <olamy@apache.org>2013-06-07 12:58:49 +0000
commit326552d549c2357b1afccf32334f4ff640c56aab (patch)
treeef8969829150846504ddc68155039c1ac99ce73b /archiva-modules
parent39d3d9284dc8717006006200b2ef89f4ec48acda (diff)
downloadarchiva-326552d549c2357b1afccf32334f4ff640c56aab.tar.gz
archiva-326552d549c2357b1afccf32334f4ff640c56aab.zip
use fest assert to prevent issue with different collection impl
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1490626 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules')
-rw-r--r--archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java3
1 files changed, 2 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 3c6dc9c9e..9d5e3bfe8 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
@@ -457,7 +457,8 @@ public abstract class AbstractMetadataRepositoryTest
repository.updateProjectVersion( TEST_REPO_ID, TEST_NAMESPACE, TEST_PROJECT, metadata );
metadata = repository.getProjectVersion( TEST_REPO_ID, TEST_NAMESPACE, TEST_PROJECT, TEST_PROJECT_VERSION );
- assertEquals( Collections.singleton( TEST_FACET_ID ), metadata.getFacetIds() );
+ //assertEquals( Collections.singleton( TEST_FACET_ID ), metadata.getFacetIds() );
+ Assertions.assertThat( metadata.getFacetIds() ).isNotNull().isNotEmpty().hasSize( 1 ).contains( TEST_FACET_ID );
testFacet = (TestMetadataFacet) metadata.getFacet( TEST_FACET_ID );
assertFalse( testFacet.toProperties().containsKey( "deleteKey" ) );
}