Fix a test for vuln. consumer plugin
@@ -44,7 +44,7 @@ public class VulnerabilityConsumerTest {
public void setUp() {
context = Mockito.mock(DSLContext.class);
vulnerabilityConsumerExtension = new VulnerabilityConsumer.VulnerabilityConsumerExtension();
- vulnerabilityConsumerExtension.setTopics("fasten.vulnerability-consumer.out");
+ vulnerabilityConsumerExtension.setTopics(Collections.singletonList("fasten.vulnerability-consumer.out"));
vulnerabilityConsumerExtension.setDBConnection(new HashMap<>(Map.of(Constants.mvnForge, context)));
}
