diff options
author | Olivier Lamy <olamy@apache.org> | 2013-05-30 12:31:57 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2013-05-30 12:31:57 +0000 |
commit | 3758c79859ab027ccedccb8e1cc8b85a4414a91a (patch) | |
tree | 1d0574d82efccd4aa64cfbb2cf20aa6bd1739a9b /archiva-modules/metadata | |
parent | ecbb16c6e28358024e46ec830552f796b034633a (diff) | |
download | archiva-3758c79859ab027ccedccb8e1cc8b85a4414a91a.tar.gz archiva-3758c79859ab027ccedccb8e1cc8b85a4414a91a.zip |
ease debugging
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1487828 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.java | 6 |
1 files 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<ArtifactMetadata> artifacts = + repository.getArtifacts( TEST_REPO_ID, TEST_NAMESPACE, TEST_PROJECT, TEST_PROJECT_VERSION ); + + Assertions.assertThat( artifacts ).isNotNull().isEmpty(); } @Test |