From 3758c79859ab027ccedccb8e1cc8b85a4414a91a Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Thu, 30 May 2013 12:31:57 +0000 Subject: [PATCH] ease debugging git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1487828 13f79535-47bb-0310-9956-ffa450edef68 --- .../metadata/repository/AbstractMetadataRepositoryTest.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 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 28b9b458f..a921cd083 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 @@ -1220,8 +1220,10 @@ public abstract class AbstractMetadataRepositoryTest repository.removeArtifact( TEST_REPO_ID, TEST_NAMESPACE, TEST_PROJECT, TEST_PROJECT_VERSION, artifact.getId() ); - assertTrue( - repository.getArtifacts( TEST_REPO_ID, TEST_NAMESPACE, TEST_PROJECT, TEST_PROJECT_VERSION ).isEmpty() ); + Collection artifacts = + repository.getArtifacts( TEST_REPO_ID, TEST_NAMESPACE, TEST_PROJECT, TEST_PROJECT_VERSION ); + + Assertions.assertThat( artifacts ).isNotNull().isEmpty(); } @Test -- 2.39.5