From b13a228b0451098ea32933a36fe64566e366583d Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Wed, 18 Apr 2018 10:18:07 +0100 Subject: MM-10121: CLI command to reset permissions system to default state. (#8637) * MM-10121: CLI command to reset permissions system to default state. * Review comment. --- store/storetest/mocks/RoleStore.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'store/storetest/mocks/RoleStore.go') diff --git a/store/storetest/mocks/RoleStore.go b/store/storetest/mocks/RoleStore.go index 8150460ae..3c01ee341 100644 --- a/store/storetest/mocks/RoleStore.go +++ b/store/storetest/mocks/RoleStore.go @@ -61,6 +61,22 @@ func (_m *RoleStore) GetByNames(names []string) store.StoreChannel { return r0 } +// PermanentDeleteAll provides a mock function with given fields: +func (_m *RoleStore) PermanentDeleteAll() 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 +} + // Save provides a mock function with given fields: role func (_m *RoleStore) Save(role *model.Role) store.StoreChannel { ret := _m.Called(role) -- cgit v1.2.3-1-g7c22