diff --git a/src/test/java/hudson/plugins/junitattachments/AttachmentPublisherPipelineTest.java b/src/test/java/hudson/plugins/junitattachments/AttachmentPublisherPipelineTest.java index a3dd37c..7d1e7e3 100644 --- a/src/test/java/hudson/plugins/junitattachments/AttachmentPublisherPipelineTest.java +++ b/src/test/java/hudson/plugins/junitattachments/AttachmentPublisherPipelineTest.java @@ -40,6 +40,7 @@ import java.io.IOException; import java.net.URL; +import java.util.Collection; import java.util.Collections; import java.util.List; @@ -78,7 +79,7 @@ public void annotationDoesNotFailForPipeline() throws Exception { TestResultAction action = getTestResultActionForPipeline("workspace2.zip", "pipelineTest.groovy", Result.UNSTABLE); ClassResult cr = getClassResult(action, TEST_PACKAGE, "SignupTest"); - List caseResults = cr.getChildren(); + Collection caseResults = cr.getChildren(); assertEquals(3, caseResults.size()); CaseResult failingCase = cr.getCaseResult("A_003_Type_the_text__jenkins__into_the_field__username_");