From 9a4f3ce1e5b22a297eeb00b2aaff44f88304ae8c Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Mon, 8 Oct 2018 16:39:03 +0100 Subject: MM-12251: Add flag to MoveChannel to remove all deactivated users. (#9515) --- store/storetest/mocks/ChannelStore.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'store/storetest/mocks/ChannelStore.go') diff --git a/store/storetest/mocks/ChannelStore.go b/store/storetest/mocks/ChannelStore.go index 9db85eacf..1c3a2a8f2 100644 --- a/store/storetest/mocks/ChannelStore.go +++ b/store/storetest/mocks/ChannelStore.go @@ -779,6 +779,22 @@ func (_m *ChannelStore) PermanentDeleteMembersByUser(userId string) store.StoreC return r0 } +// RemoveAllDeactivatedMembers provides a mock function with given fields: channelId +func (_m *ChannelStore) RemoveAllDeactivatedMembers(channelId string) store.StoreChannel { + ret := _m.Called(channelId) + + var r0 store.StoreChannel + if rf, ok := ret.Get(0).(func(string) store.StoreChannel); ok { + r0 = rf(channelId) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(store.StoreChannel) + } + } + + return r0 +} + // RemoveMember provides a mock function with given fields: channelId, userId func (_m *ChannelStore) RemoveMember(channelId string, userId string) store.StoreChannel { ret := _m.Called(channelId, userId) -- cgit v1.2.3-1-g7c22