[MM-61259] Fix errcheck issues in server/channels/app/import_utils_test.go (#28955)

This commit is contained in:
Ivy Gesare 2024-11-04 14:33:53 +03:00 committed by GitHub
parent cb32e8baea
commit 89ea59f590
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -106,7 +106,6 @@ issues:
channels/app/imaging/decode.go|\
channels/app/import_functions.go|\
channels/app/import_functions_test.go|\
channels/app/import_utils_test.go|\
channels/app/imports/import_validators.go|\
channels/app/integration_action.go|\
channels/app/integration_action_test.go|\

View file

@ -35,7 +35,10 @@ func TestGeneratePassword(t *testing.T) {
t.Run("Should not fail on concurrent calls", func(t *testing.T) {
for i := 0; i < 10; i++ {
go generatePassword(10)
go func() {
_, err := generatePassword(10)
require.NoError(t, err)
}()
}
})
}