diff --git a/server/.golangci.yml b/server/.golangci.yml index 40ed0dd6a1..4a43304415 100644 --- a/server/.golangci.yml +++ b/server/.golangci.yml @@ -93,7 +93,6 @@ issues: channels/app/import_functions.go|\ channels/app/imports/import_validators.go|\ channels/app/integration_action.go|\ - channels/app/integration_action_test.go|\ channels/app/job_test.go|\ channels/app/migrations.go|\ channels/app/permissions.go|\ diff --git a/server/channels/app/integration_action_test.go b/server/channels/app/integration_action_test.go index 6880ddc137..e6e02d49d2 100644 --- a/server/channels/app/integration_action_test.go +++ b/server/channels/app/integration_action_test.go @@ -582,9 +582,11 @@ func TestSubmitInteractiveDialog(t *testing.T) { Errors: map[string]string{"name1": "some error"}, } - b, _ := json.Marshal(resp) + b, err := json.Marshal(resp) + require.NoError(t, err) - w.Write(b) + _, err = w.Write(b) + require.NoError(t, err) })) defer ts.Close()