Skip to content

Commit

Permalink
Merge pull request #1126 from France-ioi/suppress_output_in_tests
Browse files Browse the repository at this point in the history
Suppress output of integration tests in api/currentuser & app/api/groups if they pass
  • Loading branch information
zenovich authored Jul 25, 2024
2 parents 6f518f0 + 0fe9f78 commit ea5f653
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/api/currentuser/current_user_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() }()

Expand Down
1 change: 1 addition & 0 deletions app/api/groups/create_invitations_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() }()

Expand Down

0 comments on commit ea5f653

Please sign in to comment.