diff --git a/pkg/news/news_test.go b/pkg/news/news_test.go index 70b570ebc..2afeccea3 100644 --- a/pkg/news/news_test.go +++ b/pkg/news/news_test.go @@ -121,6 +121,7 @@ func TestPrintNewsFeed(t *testing.T) { {name: "latest-quiet", args: args{bottomUp: true, cutOffDate: lastNewsTime, all: false, quiet: true}, wantErr: false}, {name: "latest-quiet-topdown", args: args{bottomUp: false, cutOffDate: lastNewsTime, all: false, quiet: true}, wantErr: false}, } + t.Setenv("TZ", "UTC") for _, tt := range tests { tt := tt t.Run(tt.name, func(t *testing.T) {