From: Jean-Philippe Lang Date: Sat, 31 Dec 2016 12:18:54 +0000 (+0000) Subject: Fixed that reported test duration can be wrong. X-Git-Tag: 3.4.0~476 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e8cffd614e4acdc01a2cc04f98bad008ea12d0ce;p=redmine.git Fixed that reported test duration can be wrong. git-svn-id: http://svn.redmine.org/redmine/trunk@16112 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/integration/sudo_mode_test.rb b/test/integration/sudo_mode_test.rb index 6d2e76102..96fab6e55 100644 --- a/test/integration/sudo_mode_test.rb +++ b/test/integration/sudo_mode_test.rb @@ -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"