From e6ab36d205262a3fc02d4042b13bc9516d12bdbb Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Barth Date: Thu, 2 May 2013 18:14:26 +0000 Subject: [PATCH] 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 --- test/unit/lib/redmine/i18n_test.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/test/unit/lib/redmine/i18n_test.rb b/test/unit/lib/redmine/i18n_test.rb index 3602e62ad..a2b802af8 100644 --- a/test/unit/lib/redmine/i18n_test.rb +++ b/test/unit/lib/redmine/i18n_test.rb @@ -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