Skip to content

Commit cb22147

Browse files
committed
save invalid events
1 parent 6109658 commit cb22147

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

runtime/v2/runner/src/test/java/com/walmartlabs/concord/runtime/v2/runner/EventReportingServiceTest.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
* Licensed under the Apache License, Version 2.0 (the "License");
1010
* you may not use this file except in compliance with the License.
1111
* You may obtain a copy of the License at
12-
*
12+
*
1313
* http://www.apache.org/licenses/LICENSE-2.0
14-
*
14+
*
1515
* Unless required by applicable law or agreed to in writing, software
1616
* distributed under the License is distributed on an "AS IS" BASIS,
1717
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -81,7 +81,7 @@ private static class MockedEventReportingService extends DefaultEventReportingSe
8181
private final AtomicInteger flushCounter;
8282

8383
public MockedEventReportingService(ProcessConfiguration processConfiguration) {
84-
super(new InstanceId(UUID.randomUUID()), processConfiguration, mock(ApiClient.class));
84+
super(new InstanceId(UUID.randomUUID()), processConfiguration, mock(ApiClient.class), mock(PersistenceService.class));
8585
this.mockProcessEventsApi = mock(ProcessEventsApi.class);
8686
this.flushCounter = new AtomicInteger();
8787
}

0 commit comments

Comments
 (0)