From 1180ec430f85104c6bf7bdc0a0a3853f1a02feb7 Mon Sep 17 00:00:00 2001 From: sunnavy Date: Wed, 18 Dec 2024 20:11:32 -0500 Subject: [PATCH] Fix TimeWorkedDate timezone issue in selenium inline edit tests The test date is supposed to be in the same timezone of current user. --- t/selenium/ticket_inline_edit.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/selenium/ticket_inline_edit.t b/t/selenium/ticket_inline_edit.t index 369561236e..fe1401800d 100644 --- a/t/selenium/ticket_inline_edit.t +++ b/t/selenium/ticket_inline_edit.t @@ -119,7 +119,7 @@ diag "Testing time inline edit"; bag( qq{Ticket 1: TimeEstimated changed from (no value) to '10'}, qq{Ticket 1: TimeLeft changed from (no value) to '15'}, - 'Worked 5 minutes on ' . $test_date->AsString( Time => 0, Timezone => 'UTC' ), + 'Worked 5 minutes on ' . $test_date->AsString( Time => 0, Timezone => 'user' ), ), 'Got notification of changes' );