From fc72581431b8e7db72582ff39c33b263f2ae8c1b Mon Sep 17 00:00:00 2001 From: aeitzman Date: Tue, 23 Jan 2024 15:46:12 -0800 Subject: [PATCH] fix test --- .../externalaccount/programmaticrefreshcredsource_test.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/google/externalaccount/programmaticrefreshcredsource_test.go b/google/externalaccount/programmaticrefreshcredsource_test.go index ae9e4d801..a1a19d349 100644 --- a/google/externalaccount/programmaticrefreshcredsource_test.go +++ b/google/externalaccount/programmaticrefreshcredsource_test.go @@ -40,12 +40,6 @@ func TestRetrieveSubjectToken_ProgrammaticAuthFails(t *testing.T) { return "", errors.New("test error") } - oldNow := now - defer func() { - now = oldNow - }() - now = setTime(defaultTime) - base, err := tfc.parse(context.Background()) if err != nil { t.Fatalf("parse() failed %v", err)