From 0fe9f78e7502f0cacb2927d422309d359eea45ef Mon Sep 17 00:00:00 2001 From: Dmitry Zenovich Date: Mon, 22 Jul 2024 17:35:03 +0300 Subject: [PATCH] suppress output of integration tests in api/currentuser & app/api/groups if they pass --- app/api/currentuser/current_user_integration_test.go | 1 + app/api/groups/create_invitations_integration_test.go | 1 + 2 files changed, 2 insertions(+) diff --git a/app/api/currentuser/current_user_integration_test.go b/app/api/currentuser/current_user_integration_test.go index 015e731c6..052383b0a 100644 --- a/app/api/currentuser/current_user_integration_test.go +++ b/app/api/currentuser/current_user_integration_test.go @@ -184,6 +184,7 @@ func Test_checkPreconditionsForGroupRequests(t *testing.T) { for _, tt := range tests { tt := tt t.Run(tt.name, func(t *testing.T) { + testhelpers.SuppressOutputIfPasses(t) db := testhelpers.SetupDBWithFixtureString(tt.fixture) defer func() { _ = db.Close() }() diff --git a/app/api/groups/create_invitations_integration_test.go b/app/api/groups/create_invitations_integration_test.go index bd5ff91c7..d5220fa5f 100644 --- a/app/api/groups/create_invitations_integration_test.go +++ b/app/api/groups/create_invitations_integration_test.go @@ -243,6 +243,7 @@ func Test_filterOtherTeamsMembersOut(t *testing.T) { for _, tt := range tests { tt := tt t.Run(tt.name, func(t *testing.T) { + testhelpers.SuppressOutputIfPasses(t) db := testhelpers.SetupDBWithFixtureString(tt.fixture) defer func() { _ = db.Close() }()