Skip to content

Commit 76a8710

Browse files
committed
test: Revert change to maintenance test
1 parent d5fe682 commit 76a8710

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: config/maintenance/maintenance_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ func TestConfig_IsUnderMaintenance(t *testing.T) {
276276
{
277277
name: "not-under-maintenance-los-angeles-timezone-starting-now-for-2h-today",
278278
cfg: &Config{
279-
Start: fmt.Sprintf("%02d:00", inTimezone(now, "America/Los_Angeles", t).Hour()),
279+
Start: fmt.Sprintf("%02d:00", now.Hour()),
280280
Duration: 2 * time.Hour,
281281
Timezone: "America/Los_Angeles",
282282
Every: []string{now.Weekday().String()},

0 commit comments

Comments
 (0)