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/UserStore.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/UserStore.go')
-rw-r--r-- | store/storetest/mocks/UserStore.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/store/storetest/mocks/UserStore.go b/store/storetest/mocks/UserStore.go index 7d1fd8c38..2f921ae6e 100644 --- a/store/storetest/mocks/UserStore.go +++ b/store/storetest/mocks/UserStore.go @@ -77,6 +77,11 @@ func (_m *UserStore) AnalyticsUniqueUserCount(teamId string) store.StoreChannel return r0 } +// ClearCaches provides a mock function with given fields: +func (_m *UserStore) ClearCaches() { + _m.Called() +} + // Get provides a mock function with given fields: id func (_m *UserStore) Get(id string) store.StoreChannel { ret := _m.Called(id) |