Skip to content

Commit fedfea2

Browse files
committed
chore: fix test
1 parent e5bfda9 commit fedfea2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/flamingock-processor/src/test/java/io/flamingock/core/processor/PipelinePreProcessorTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,11 +309,11 @@ void shouldThrowErrorForUnmappedChanges() throws Exception {
309309

310310
// Invoke private validator by reflection and assert it throws (InvocationTargetException wraps the RuntimeException)
311311
Method validator = FlamingockAnnotationProcessor.class.getDeclaredMethod(
312-
"validateAllChangesAreMappedToStages", List.class, Map.class, PreviewPipeline.class, Boolean.class);
312+
"validateAllChangesAreMappedToStages", Map.class, PreviewPipeline.class, Boolean.class);
313313
validator.setAccessible(true);
314314

315315
InvocationTargetException ex = assertThrows(InvocationTargetException.class, () ->
316-
validator.invoke(processor, Collections.emptyList(), changesByPackage, pipeline, true));
316+
validator.invoke(processor, changesByPackage, pipeline, true));
317317

318318
Throwable cause = ex.getCause();
319319
assertNotNull(cause, "Validator should throw a RuntimeException cause");

0 commit comments

Comments
 (0)