Skip to content

Commit

Permalink
Fix TimeWorkedDate timezone issue in selenium inline edit tests
Browse files Browse the repository at this point in the history
The test date is supposed to be in the same timezone of current user.
  • Loading branch information
sunnavy committed Dec 20, 2024
1 parent 7fac140 commit 4b9b6e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/selenium/ticket_inline_edit.t
Original file line number Diff line number Diff line change
Expand Up @@ -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'
);
Expand Down

0 comments on commit 4b9b6e3

Please sign in to comment.