]> source.dussan.org Git - archiva.git/commitdiff
fix processor construction
authorBrett Porter <brett@apache.org>
Mon, 11 Sep 2006 13:51:28 +0000 (13:51 +0000)
committerBrett Porter <brett@apache.org>
Mon, 11 Sep 2006 13:51:28 +0000 (13:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442221 13f79535-47bb-0310-9956-ffa450edef68

archiva-reports-standard/src/test/java/org/apache/maven/archiva/reporting/BadMetadataReportProcessorTest.java

index 6c23232e0f6e2c10365551b41c004f83c15280ef..493d5198a66bc72848d62154a843e651bba52b54 100644 (file)
@@ -46,7 +46,7 @@ public class BadMetadataReportProcessorTest
 
         artifactFactory = (ArtifactFactory) lookup( ArtifactFactory.ROLE );
 
-        badMetadataReportProcessor = (MetadataReportProcessor) lookup( MetadataReportProcessor.ROLE );
+        badMetadataReportProcessor = (MetadataReportProcessor) lookup( MetadataReportProcessor.ROLE, "bad-metadata" );
 
         ReportGroup reportGroup = (ReportGroup) lookup( ReportGroup.ROLE, "health" );
         reportingDatabase = new ReportingDatabase( reportGroup );