]> source.dussan.org Git - redmine.git/commitdiff
Fixed that reported test duration can be wrong.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 31 Dec 2016 12:18:54 +0000 (12:18 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 31 Dec 2016 12:18:54 +0000 (12:18 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@16112 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/integration/sudo_mode_test.rb

index 6d2e76102b91ab9cd50312eb4f93f25b5bcb4129..96fab6e55831d5508cd3ab8a8536fb477d7ee4fa 100644 (file)
@@ -7,6 +7,10 @@ class SudoModeTest < Redmine::IntegrationTest
     Redmine::SudoMode.stubs(:enabled?).returns(true)
   end
 
+  def teardown
+    travel_back
+  end
+
   def test_sudo_mode_should_be_active_after_login
     log_user("admin", "admin")
     get "/users/new"