Remove duplicate test Redmine::I18nTest#test_time_format (keeping the most complete).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11767 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Baptiste Barth 2013-05-02 18:14:26 +00:00
parent e771d68214
commit e6ab36d205
1 changed files with 0 additions and 9 deletions

View File

@ -131,15 +131,6 @@ class Redmine::I18nTest < ActiveSupport::TestCase
end
end
def test_time_format
set_language_if_valid 'en'
now = Time.now
Setting.date_format = '%d %m %Y'
Setting.time_format = '%H %M'
assert_equal now.strftime('%d %m %Y %H %M'), format_time(now)
assert_equal now.strftime('%H %M'), format_time(now, false)
end
def test_utc_time_format
set_language_if_valid 'en'
now = Time.now