Fixed errcheck issues in server/channels/app/migrations.go (#29067)

Этот коммит содержится в:
Arya Khochare
2024-12-17 18:46:37 +05:30
коммит произвёл GitHub
родитель cdfadcf47d
Коммит 1f7f0d20cd
5 изменённых файлов: 32 добавлений и 12 удалений

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

@@ -255,7 +255,8 @@ func TestDoEmojisPermissionsMigration(t *testing.T) {
sort.Strings(expectedSystemAdmin)
th.ResetEmojisMigration()
th.App.DoEmojisPermissionsMigration()
err := th.App.DoEmojisPermissionsMigration()
require.NoError(t, err)
role3, err3 := th.App.GetRoleByName(context.Background(), model.SystemUserRoleId)
assert.Nil(t, err3)