From 122fdb0143a04c03b7c18d4033838bbca1def1ac Mon Sep 17 00:00:00 2001 From: Anthony Akentiev Date: Tue, 13 Aug 2024 16:30:02 +0200 Subject: [PATCH] Add missing mocks for coordinatorclient --- .../mock_coordinatorclient.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/coordinator/coordinatorclient/mock_coordinatorclient/mock_coordinatorclient.go b/coordinator/coordinatorclient/mock_coordinatorclient/mock_coordinatorclient.go index 6ecb0d5a..220d6797 100644 --- a/coordinator/coordinatorclient/mock_coordinatorclient/mock_coordinatorclient.go +++ b/coordinator/coordinatorclient/mock_coordinatorclient/mock_coordinatorclient.go @@ -102,6 +102,21 @@ func (mr *MockCoordinatorClientMockRecorder) AclAddRecord(arg0, arg1, arg2 any) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AclAddRecord", reflect.TypeOf((*MockCoordinatorClient)(nil).AclAddRecord), arg0, arg1, arg2) } +// AclEventLog mocks base method. +func (m *MockCoordinatorClient) AclEventLog(arg0 context.Context, arg1, arg2 string, arg3 int) ([]*coordinatorproto.AclEventLogRecord, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "AclEventLog", arg0, arg1, arg2, arg3) + ret0, _ := ret[0].([]*coordinatorproto.AclEventLogRecord) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// AclEventLog indicates an expected call of AclEventLog. +func (mr *MockCoordinatorClientMockRecorder) AclEventLog(arg0, arg1, arg2, arg3 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AclEventLog", reflect.TypeOf((*MockCoordinatorClient)(nil).AclEventLog), arg0, arg1, arg2, arg3) +} + // AclGetRecords mocks base method. func (m *MockCoordinatorClient) AclGetRecords(arg0 context.Context, arg1, arg2 string) ([]*consensusproto.RawRecordWithId, error) { m.ctrl.T.Helper()