Skip to content

Commit

Permalink
server/channels/app/export_test: fix a lint error due to err check (m…
Browse files Browse the repository at this point in the history
  • Loading branch information
isacikgoz authored Dec 19, 2024
1 parent 8c41ec7 commit 902888e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/channels/app/export_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{})
Expand Down

0 comments on commit 902888e

Please sign in to comment.