diff options
author | Joram Wilander <jwawilander@gmail.com> | 2018-03-05 10:35:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-05 10:35:26 -0500 |
commit | 4a1802c039a0db2d97e8351c462963a99da857bf (patch) | |
tree | f083e9cd2c21434a6eba2dca7f90c127514bf727 /store/storetest/mocks/ChannelStore.go | |
parent | fbff94f3be1bf596f2b94f593687d3b162413de9 (diff) | |
download | chat-4a1802c039a0db2d97e8351c462963a99da857bf.tar.gz chat-4a1802c039a0db2d97e8351c462963a99da857bf.tar.bz2 chat-4a1802c039a0db2d97e8351c462963a99da857bf.zip |
MM-9664 Add invalidation metrics for store caches (#8340)
* Add invalidation metrics for store caches
* Increment session invalidation metric
* Fix tests
Diffstat (limited to 'store/storetest/mocks/ChannelStore.go')
-rw-r--r-- | store/storetest/mocks/ChannelStore.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/store/storetest/mocks/ChannelStore.go b/store/storetest/mocks/ChannelStore.go index 5379c2fb4..4ed3e39fb 100644 --- a/store/storetest/mocks/ChannelStore.go +++ b/store/storetest/mocks/ChannelStore.go @@ -61,6 +61,11 @@ func (_m *ChannelStore) AutocompleteInTeam(teamId string, term string) store.Sto return r0 } +// ClearCaches provides a mock function with given fields: +func (_m *ChannelStore) ClearCaches() { + _m.Called() +} + // CreateDirectChannel provides a mock function with given fields: userId, otherUserId func (_m *ChannelStore) CreateDirectChannel(userId string, otherUserId string) store.StoreChannel { ret := _m.Called(userId, otherUserId) |