Removing certain unneded cluster invalidation messages (#13549)

* Removing certain unneded cluster invalidation messages

* Fixing typo

* Removing channges included in other PR

* Adding doc string to RegisterAllClusterMessageHandlers method

* fixing typos

Co-authored-by: mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
Jesús Espino
2020-01-08 11:31:10 +01:00
коммит произвёл GitHub
родитель bd480b70f3
Коммит 464c290e50
9 изменённых файлов: 138 добавлений и 61 удалений

Просмотреть файл

@@ -928,8 +928,8 @@ func (_m *UserStore) InferSystemInstallDate() (int64, *model.AppError) {
return r0, r1
}
// InvalidatProfileCacheForUser provides a mock function with given fields: userId
func (_m *UserStore) InvalidatProfileCacheForUser(userId string) {
// InvalidateProfileCacheForUser provides a mock function with given fields: userId
func (_m *UserStore) InvalidateProfileCacheForUser(userId string) {
_m.Called(userId)
}

Просмотреть файл

@@ -4949,7 +4949,7 @@ func testUserStoreResetLastPictureUpdate(t *testing.T, ss store.Store) {
err = ss.User().ResetLastPictureUpdate(u1.Id)
require.Nil(t, err)
ss.User().InvalidatProfileCacheForUser(u1.Id)
ss.User().InvalidateProfileCacheForUser(u1.Id)
user2, err := ss.User().Get(u1.Id)
require.Nil(t, err)