Skip to content

Commit

Permalink
Fix test after adding extra filter to filter empty stepsToRun
Browse files Browse the repository at this point in the history
  • Loading branch information
muttcg committed Apr 8, 2024
1 parent 638f92c commit 5d73f3b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import org.gbif.api.model.pipelines.StepType;

import java.time.LocalDateTime;
import java.util.Collections;

import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
Expand Down Expand Up @@ -56,6 +57,7 @@ void getLatestSuccesfulStepTest() {
execution.addStep(s1);
execution.addStep(s2);
execution.addStep(s3);
execution.setStepsToRun(Collections.singleton(StepType.ABCD_TO_VERBATIM));

PipelineProcess process = new PipelineProcess();
process.addExecution(execution);
Expand Down

0 comments on commit 5d73f3b

Please sign in to comment.