[MM-61499] Fix errcheck issues in server/channels/app/slashcommands/helper_test.go (#30880)

Этот коммит содержится в:
Ben Schumacher
2025-05-12 11:20:14 +02:00
коммит произвёл GitHub
родитель d452f4f043
Коммит 4dbff921ba
17 изменённых файлов: 248 добавлений и 338 удалений

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

@@ -12,8 +12,7 @@ import (
)
func TestInvitePeopleProvider(t *testing.T) {
th := setup(t).initBasic()
defer th.tearDown()
th := setup(t).initBasic(t)
th.App.UpdateConfig(func(cfg *model.Config) {
*cfg.EmailSettings.SendEmailNotifications = true
@@ -22,7 +21,7 @@ func TestInvitePeopleProvider(t *testing.T) {
cmd := InvitePeopleProvider{}
notTeamUser := th.createUser()
notTeamUser := th.createUser(t)
// Test without required permissions
args := &model.CommandArgs{