* 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>
Этот коммит содержится в:
Rodrigo Villablanca
2020-10-26 06:41:27 -03:00
коммит произвёл GitHub
родитель d51d843fcd
Коммит 96f1739f8f
55 изменённых файлов: 2487 добавлений и 1568 удалений

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

@@ -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