[MM-61086] Fix errcheck linter issue in batch_worker_test.go (#30644)

This commit is contained in:
Ben Schumacher 2025-04-29 11:08:38 +02:00 committed by GitHub
parent f1ddeec2f6
commit df3560ed9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -102,7 +102,6 @@ issues:
channels/app/slashcommands/helper_test.go|\
channels/app/team_test.go|\
channels/app/upload.go|\
channels/jobs/batch_worker_test.go|\
channels/store/localcachelayer/channel_layer.go|\
channels/store/localcachelayer/channel_layer_test.go|\
channels/store/localcachelayer/emoji_layer.go|\

View file

@ -54,7 +54,8 @@ func TestBatchWorker(t *testing.T) {
batchNumber++
job.Data["batch_number"] = strconv.Itoa(batchNumber)
th.Server.Jobs.SetJobProgress(job, 0)
appErr := th.Server.Jobs.SetJobProgress(job, 0)
require.Nil(t, appErr)
}
t.Run("stop after first batch", func(t *testing.T) {