UserStore migration (#15563)
* Migration completed * Fix tests * Fix tests * Fix tests * Suggestions * Trigger CI * Suggestions * Merge with master * Trigger CI Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Agniva De Sarker <agnivade@yahoo.co.in>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
d51d843fcd
Коммит
96f1739f8f
@@ -398,8 +398,8 @@ func TestUpdateUserEmail(t *testing.T) {
|
||||
Username: model.NewId(),
|
||||
IsBot: true,
|
||||
}
|
||||
_, err = th.App.Srv().Store.User().Save(&botuser)
|
||||
assert.Nil(t, err)
|
||||
_, nErr := th.App.Srv().Store.User().Save(&botuser)
|
||||
assert.Nil(t, nErr)
|
||||
|
||||
newBotEmail := th.MakeEmail()
|
||||
botuser.Email = newBotEmail
|
||||
@@ -441,8 +441,8 @@ func TestUpdateUserEmail(t *testing.T) {
|
||||
Username: model.NewId(),
|
||||
IsBot: true,
|
||||
}
|
||||
_, err = th.App.Srv().Store.User().Save(&botuser)
|
||||
assert.Nil(t, err)
|
||||
_, nErr := th.App.Srv().Store.User().Save(&botuser)
|
||||
assert.Nil(t, nErr)
|
||||
|
||||
newBotEmail := th.MakeEmail()
|
||||
botuser.Email = newBotEmail
|
||||
|
||||
Ссылка в новой задаче
Block a user