Skip to content

Commit 727abaf

Browse files
committed
fixup! Add fleet-gateway rollback unit tests
1 parent 3a7cf76 commit 727abaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/pkg/agent/application/gateway/fleet/fleet_gateway_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1140,7 +1140,7 @@ func TestAvailableRollbacks(t *testing.T) {
11401140
name: "valid available rollbacks - assert key and value",
11411141
setup: func(t *testing.T, rbSource *mockRollbacksSource, client *testingClient) {
11421142

1143-
validUntil := time.Now().Add(time.Minute)
1143+
validUntil := time.Now().UTC().Add(time.Minute)
11441144
// truncate to the second to avoid different precision due to marshal/unmarshal
11451145
validUntil = validUntil.Truncate(time.Second)
11461146

0 commit comments

Comments
 (0)