Skip to content

Commit c9abaaf

Browse files
committed
fix tests
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
1 parent 6bfe09b commit c9abaaf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

operator-framework-core/src/test/java/io/javaoperatorsdk/operator/processing/event/source/controller/ControllerEventSourceTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ void withoutDefaultFiltersUserFilterIsAppliedDirectly() {
152152
source = new ControllerEventSource<>(new TestController(null, userFilter, null, false));
153153
setUpSource(source, true, controllerConfig);
154154

155-
source.handleEvent(ResourceAction.UPDATED, cr, cr, null);
155+
source.handleEvent(ResourceAction.UPDATED, cr, cr, null, null);
156156

157157
verify(eventHandler, times(1)).handleEvent(any());
158158
}
@@ -165,7 +165,7 @@ void withoutDefaultFiltersUserFilterCanRejectEvents() {
165165
source = new ControllerEventSource<>(new TestController(null, userFilter, null, false));
166166
setUpSource(source, true, controllerConfig);
167167

168-
source.handleEvent(ResourceAction.UPDATED, cr, cr, null);
168+
source.handleEvent(ResourceAction.UPDATED, cr, cr, null, null);
169169

170170
verify(eventHandler, never()).handleEvent(any());
171171
}

0 commit comments

Comments
 (0)