diff options
author | George Goldberg <george@gberg.me> | 2018-04-18 10:18:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-18 10:18:07 +0100 |
commit | b13a228b0451098ea32933a36fe64566e366583d (patch) | |
tree | 569aa0c6c5f273b806b4c3e0c59801204916492c /store/storetest/mocks/PostStore.go | |
parent | a1882d4004ce624dad1b8624804e974f209efe8d (diff) | |
download | chat-b13a228b0451098ea32933a36fe64566e366583d.tar.gz chat-b13a228b0451098ea32933a36fe64566e366583d.tar.bz2 chat-b13a228b0451098ea32933a36fe64566e366583d.zip |
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.
Diffstat (limited to 'store/storetest/mocks/PostStore.go')
-rw-r--r-- | store/storetest/mocks/PostStore.go | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/store/storetest/mocks/PostStore.go b/store/storetest/mocks/PostStore.go index bdd0d1d16..bdfbb3321 100644 --- a/store/storetest/mocks/PostStore.go +++ b/store/storetest/mocks/PostStore.go @@ -162,6 +162,22 @@ func (_m *PostStore) GetFlaggedPostsForTeam(userId string, teamId string, offset return r0 } +// GetMaxPostSize provides a mock function with given fields: +func (_m *PostStore) GetMaxPostSize() 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 +} + // GetOldest provides a mock function with given fields: func (_m *PostStore) GetOldest() store.StoreChannel { ret := _m.Called() @@ -422,18 +438,3 @@ func (_m *PostStore) Update(newPost *model.Post, oldPost *model.Post) store.Stor return r0 } - -func (_m *PostStore) GetMaxPostSize() 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 -} |