mirror of
https://github.com/redmine/redmine.git
synced 2025-11-11 15:56:03 +01:00
Fixed that reported test duration can be wrong.
git-svn-id: http://svn.redmine.org/redmine/trunk@16112 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -7,6 +7,10 @@ class SudoModeTest < Redmine::IntegrationTest
|
|||||||
Redmine::SudoMode.stubs(:enabled?).returns(true)
|
Redmine::SudoMode.stubs(:enabled?).returns(true)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def teardown
|
||||||
|
travel_back
|
||||||
|
end
|
||||||
|
|
||||||
def test_sudo_mode_should_be_active_after_login
|
def test_sudo_mode_should_be_active_after_login
|
||||||
log_user("admin", "admin")
|
log_user("admin", "admin")
|
||||||
get "/users/new"
|
get "/users/new"
|
||||||
|
|||||||
Reference in New Issue
Block a user