diff options
Diffstat (limited to 'store/storetest/mocks/ChannelStore.go')
-rw-r--r-- | store/storetest/mocks/ChannelStore.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/store/storetest/mocks/ChannelStore.go b/store/storetest/mocks/ChannelStore.go index 747a844ec..63f6bc6a9 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, includeDe return r0 } +// AutocompleteInTeamForSearch provides a mock function with given fields: teamId, userId, term, includeDeleted +func (_m *ChannelStore) AutocompleteInTeamForSearch(teamId string, userId string, term string, includeDeleted bool) store.StoreChannel { + ret := _m.Called(teamId, userId, term, includeDeleted) + + var r0 store.StoreChannel + if rf, ok := ret.Get(0).(func(string, string, string, bool) store.StoreChannel); ok { + r0 = rf(teamId, userId, term, includeDeleted) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(store.StoreChannel) + } + } + + return r0 +} + // ClearAllCustomRoleAssignments provides a mock function with given fields: func (_m *ChannelStore) ClearAllCustomRoleAssignments() store.StoreChannel { ret := _m.Called() |