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>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
bd480b70f3
Коммит
464c290e50
@@ -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)
|
||||
|
||||
Ссылка в новой задаче
Block a user