From 0cd9f36d9d2cef0de350f12f3357609ea862e9d9 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 3 Jun 2013 12:54:12 +0000 Subject: use fest assert git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1488980 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva/metadata/repository/AbstractMetadataRepositoryTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'archiva-modules') 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 e359c0c74..abc3e9384 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 @@ -1265,7 +1265,9 @@ public abstract class AbstractMetadataRepositoryTest repository.removeProject( TEST_REPO_ID, TEST_NAMESPACE, TEST_PROJECT ); - assertEquals( 0, repository.getProjectVersions( TEST_REPO_ID, TEST_NAMESPACE, TEST_PROJECT ).size() ); + Collection versions = repository.getProjectVersions( TEST_REPO_ID, TEST_NAMESPACE, TEST_PROJECT ); + + Assertions.assertThat( versions ).isNotNull().isEmpty(); } -- cgit v1.2.3