diff --git a/auth/authutils_test.go b/auth/authutils_test.go index 5bd20d0e1..c0adeb9dc 100644 --- a/auth/authutils_test.go +++ b/auth/authutils_test.go @@ -33,6 +33,7 @@ func TestExtractUsernameFromAccessToken(t *testing.T) { {"tempuser", token4, false}, {"yahav/test-repo", token5, false}, } + // Discard output logging to prevent negative logs previousLog := tests.RedirectLogOutputToNil() defer func() { log.SetLogger(previousLog)