Skip to content

Commit

Permalink
save invalid events
Browse files Browse the repository at this point in the history
  • Loading branch information
brig committed Nov 9, 2024
1 parent 6109658 commit cb22147
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand Down Expand Up @@ -81,7 +81,7 @@ private static class MockedEventReportingService extends DefaultEventReportingSe
private final AtomicInteger flushCounter;

public MockedEventReportingService(ProcessConfiguration processConfiguration) {
super(new InstanceId(UUID.randomUUID()), processConfiguration, mock(ApiClient.class));
super(new InstanceId(UUID.randomUUID()), processConfiguration, mock(ApiClient.class), mock(PersistenceService.class));
this.mockProcessEventsApi = mock(ProcessEventsApi.class);
this.flushCounter = new AtomicInteger();
}
Expand Down

0 comments on commit cb22147

Please sign in to comment.