]> source.dussan.org Git - redmine.git/commitdiff
Fix test to use correct IANA timezone name "Asia/Hong_Kong" instead of deprecated...
authorGo MAEDA <maeda@farend.jp>
Wed, 25 Sep 2024 21:31:24 +0000 (21:31 +0000)
committerGo MAEDA <maeda@farend.jp>
Wed, 25 Sep 2024 21:31:24 +0000 (21:31 +0000)
Patch by Soren Stoutner (user:sorenstoutner).

git-svn-id: https://svn.redmine.org/redmine/trunk@23079 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/issue_test.rb

index d9933128af64ec7955e032a8ede3e66119d7943c..1ec7ef79c225a49050b0a6eae34c43876d0e1039 100644 (file)
@@ -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')