From e32581aef3253bb0691d6fd678fbf01e86f2c10c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Tue, 11 Sep 2018 22:45:31 +0200 Subject: MM-11725: Add specific autocomplete endpoint for search autocomplete (#9337) --- 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 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() -- cgit v1.2.3-1-g7c22