From: Go MAEDA Date: Wed, 25 Sep 2024 21:31:24 +0000 (+0000) Subject: Fix test to use correct IANA timezone name "Asia/Hong_Kong" instead of deprecated... X-Git-Tag: 6.0.0~121 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=55b0664b4cf72319643edfd94a1df92551d9786b;p=redmine.git Fix test to use correct IANA timezone name "Asia/Hong_Kong" instead of deprecated "Hongkong" (#41313). Patch by Soren Stoutner (user:sorenstoutner). git-svn-id: https://svn.redmine.org/redmine/trunk@23079 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index d9933128a..1ec7ef79c 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -3439,7 +3439,7 @@ class IssueTest < ActiveSupport::TestCase user_in_europe.pref.update! :time_zone => 'UTC' user_in_asia = users(:users_002) - user_in_asia.pref.update! :time_zone => 'Hongkong' + user_in_asia.pref.update! :time_zone => 'Asia/Hong_Kong' issue = Issue.generate! :due_date => Date.parse('2016-03-20')