]> source.dussan.org Git - redmine.git/commitdiff
Remove duplicate test Redmine::I18nTest#test_time_format (keeping the most complete).
authorJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>
Thu, 2 May 2013 18:14:26 +0000 (18:14 +0000)
committerJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>
Thu, 2 May 2013 18:14:26 +0000 (18:14 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11767 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/lib/redmine/i18n_test.rb

index 3602e62adaf66c9ab23811b74b4c8b2bdd8cbb0d..a2b802af800a33dde6e38462925c20b2dd1b4aa3 100644 (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