From e8cffd614e4acdc01a2cc04f98bad008ea12d0ce Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 31 Dec 2016 12:18:54 +0000 Subject: [PATCH] Fixed that reported test duration can be wrong. git-svn-id: http://svn.redmine.org/redmine/trunk@16112 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/integration/sudo_mode_test.rb | 4 ++++ 1 file changed, 4 insertions(+) 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" -- 2.39.5