From fc158fce907b602bbde3babfadfd1a04d1dde31e Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Mon, 25 Jun 2018 14:34:59 +0100 Subject: MM-10570: Make permissions reset command clear custom role assignments. (#8976) --- 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 114914bb8..4929557ea 100644 --- a/store/storetest/mocks/ChannelStore.go +++ b/store/storetest/mocks/ChannelStore.go @@ -61,6 +61,22 @@ func (_m *ChannelStore) AutocompleteInTeam(teamId string, term string) store.Sto return r0 } +// ClearAllCustomRoleAssignments provides a mock function with given fields: +func (_m *ChannelStore) ClearAllCustomRoleAssignments() store.StoreChannel { + ret := _m.Called() + + var r0 store.StoreChannel + if rf, ok := ret.Get(0).(func() store.StoreChannel); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(store.StoreChannel) + } + } + + return r0 +} + // ClearCaches provides a mock function with given fields: func (_m *ChannelStore) ClearCaches() { _m.Called() -- cgit v1.2.3-1-g7c22