##// END OF EJS Templates
Remove duplicate test Redmine::I18nTest#test_time_format (keeping the most complete)....
Jean-Baptiste Barth -
r11537:e6ab36d20526
parent child
Show More
@@ -131,15 +131,6 class Redmine::I18nTest < ActiveSupport::TestCase
131 end
131 end
132 end
132 end
133
133
134 def test_time_format
135 set_language_if_valid 'en'
136 now = Time.now
137 Setting.date_format = '%d %m %Y'
138 Setting.time_format = '%H %M'
139 assert_equal now.strftime('%d %m %Y %H %M'), format_time(now)
140 assert_equal now.strftime('%H %M'), format_time(now, false)
141 end
142
143 def test_utc_time_format
134 def test_utc_time_format
144 set_language_if_valid 'en'
135 set_language_if_valid 'en'
145 now = Time.now
136 now = Time.now
General Comments 0
You need to be logged in to leave comments. Login now