diff options
author | Go MAEDA <maeda@farend.jp> | 2019-09-11 01:53:00 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-09-11 01:53:00 +0000 |
commit | 6b6895fc429cd4fa58ee331c801735fe41b5d044 (patch) | |
tree | abccd8e1dbda20258b39f911e34496e139e72d5e /test/integration | |
parent | 5ca458864ed043642bc693de608ec8a0be40d1b1 (diff) | |
download | redmine-6b6895fc429cd4fa58ee331c801735fe41b5d044.tar.gz redmine-6b6895fc429cd4fa58ee331c801735fe41b5d044.zip |
Fix that Redmine::ApiTest::NewsTest fails when config.time_zone is set (#13468).
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18445 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration')
-rw-r--r-- | test/integration/api_test/news_test.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/integration/api_test/news_test.rb b/test/integration/api_test/news_test.rb index a6ca416a8..a7fccf9b6 100644 --- a/test/integration/api_test/news_test.rb +++ b/test/integration/api_test/news_test.rb @@ -73,8 +73,7 @@ class Redmine::ApiTest::NewsTest < Redmine::ApiTest::Base assert_select 'title', 'eCookbook first release !' assert_select 'summary', 'First version was released...' assert_select 'description', "eCookbook 1.0 has been released.\n\nVisit http://ecookbook.somenet.foo/" - iso_date = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z$/ - assert_select 'news>created_on', :text => iso_date + assert_select 'created_on', News.find(1).created_on.iso8601 end end |