server/channels/app/export_test: fix a lint error due to err check (#29650)

Этот коммит содержится в:
Ibrahim Serdar Acikgoz
2024-12-19 19:34:46 +01:00
коммит произвёл GitHub
родитель 8c41ec75db
Коммит 902888efd9

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

@@ -373,7 +373,8 @@ func TestExportDMChannel(t *testing.T) {
assert.Equal(t, 2, len(channels))
// Permanentley delete other user
th1.App.PermanentDeleteUser(th1.Context, th1.BasicUser2)
appErr := th1.App.PermanentDeleteUser(th1.Context, th1.BasicUser2)
require.Nil(t, appErr)
var b bytes.Buffer
err := th1.App.BulkExport(th1.Context, &b, "somePath", nil, model.BulkExportOpts{})