diff options
author | Martin Stockhammer <martin_s@apache.org> | 2019-08-02 23:49:08 +0200 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2019-08-02 23:49:08 +0200 |
commit | c56ce11c20b1963760b74e397acb200f61c1f95e (patch) | |
tree | dd805d2d7a6b8e0c6ec65578106eec67d07b50ad /archiva-modules/plugins/problem-reports | |
parent | bb3b074aaf5a2be0d81c950ecf1588fe8efa3316 (diff) | |
download | archiva-c56ce11c20b1963760b74e397acb200f61c1f95e.tar.gz archiva-c56ce11c20b1963760b74e397acb200f61c1f95e.zip |
Fixing unit tests
Diffstat (limited to 'archiva-modules/plugins/problem-reports')
-rw-r--r-- | archiva-modules/plugins/problem-reports/src/test/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumerTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archiva-modules/plugins/problem-reports/src/test/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumerTest.java b/archiva-modules/plugins/problem-reports/src/test/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumerTest.java index 97a2be68e..31c58c7e5 100644 --- a/archiva-modules/plugins/problem-reports/src/test/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumerTest.java +++ b/archiva-modules/plugins/problem-reports/src/test/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumerTest.java @@ -95,7 +95,7 @@ public class DuplicateArtifactsConsumerTest assertNotNull( consumer ); - config = BasicManagedRepository.newFilesystemInstance(TEST_REPO, TEST_REPO, Paths.get("target")); + config = BasicManagedRepository.newFilesystemInstance(TEST_REPO, TEST_REPO, Paths.get("target").resolve(TEST_REPO)); config.setLocation( Paths.get( "target/test-repository" ).toAbsolutePath().toUri() ); metadataRepository = mock( MetadataRepository.class ); |