summaryrefslogtreecommitdiffstats
path: root/store/storetest/mocks/ChannelStore.go
diff options
context:
space:
mode:
authorJesús Espino <jespinog@gmail.com>2018-08-24 09:53:44 +0200
committerGitHub <noreply@github.com>2018-08-24 09:53:44 +0200
commitbba3bbd9f3e250cca0ce705e664382fe3ad6e78a (patch)
tree63b8e40450634949d6bc3f80346cd26b7639c49d /store/storetest/mocks/ChannelStore.go
parent8bbee74ed811e7aa8167ad7cea6d05042a90f446 (diff)
downloadchat-bba3bbd9f3e250cca0ce705e664382fe3ad6e78a.tar.gz
chat-bba3bbd9f3e250cca0ce705e664382fe3ad6e78a.tar.bz2
chat-bba3bbd9f3e250cca0ce705e664382fe3ad6e78a.zip
MM-11572: Force correct order on messages generated in the bulk (#9244)
Diffstat (limited to 'store/storetest/mocks/ChannelStore.go')
-rw-r--r--store/storetest/mocks/ChannelStore.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/store/storetest/mocks/ChannelStore.go b/store/storetest/mocks/ChannelStore.go
index 8adc98e10..747a844ec 100644
--- a/store/storetest/mocks/ChannelStore.go
+++ b/store/storetest/mocks/ChannelStore.go
@@ -711,6 +711,22 @@ func (_m *ChannelStore) ResetAllChannelSchemes() store.StoreChannel {
return r0
}
+// ResetLastPostAt provides a mock function with given fields:
+func (_m *ChannelStore) ResetLastPostAt() 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
+}
+
// Restore provides a mock function with given fields: channelId, time
func (_m *ChannelStore) Restore(channelId string, time int64) store.StoreChannel {
ret := _m.Called(channelId, time)