Skip to content

Commit 484e0c7

Browse files
committed
test(openshift): use local timezone for timestamps
Signed-off-by: Nick Hale <[email protected]>
1 parent f7e9584 commit 484e0c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controller/operators/openshift/suite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ var _ = BeforeSuite(func() {
6868
Expect(cfg).ToNot(BeNil())
6969

7070
ctx = context.Background()
71-
now := metav1.Now().Rfc3339Copy()
71+
now := metav1.Date(2021, time.April, 13, 0, 0, 0, 0, time.Local)
7272
fixedNow = func() metav1.Time {
7373
return now
7474
}

0 commit comments

Comments
 (0)