summaryrefslogtreecommitdiffstats
path: root/test/functional/roles_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-06-19 19:42:49 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-06-19 19:42:49 +0000
commite12322dac3baf3c31ea1487884f3b9c3273466ba (patch)
treedea21182473f3ce451b352fde3df33ea9a1ff15a /test/functional/roles_controller_test.rb
parent854177554905159506220cd88aa765fca47bf756 (diff)
downloadredmine-e12322dac3baf3c31ea1487884f3b9c3273466ba.tar.gz
redmine-e12322dac3baf3c31ea1487884f3b9c3273466ba.zip
Adds a configuration setting to enable sudo mode, disabled by default (#19851).
git-svn-id: http://svn.redmine.org/redmine/trunk@14336 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/roles_controller_test.rb')
-rw-r--r--test/functional/roles_controller_test.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/functional/roles_controller_test.rb b/test/functional/roles_controller_test.rb
index 21073f832..b5c80f2e9 100644
--- a/test/functional/roles_controller_test.rb
+++ b/test/functional/roles_controller_test.rb
@@ -23,7 +23,6 @@ class RolesControllerTest < ActionController::TestCase
def setup
User.current = nil
@request.session[:user_id] = 1 # admin
- Redmine::SudoMode.disable!
end
def test_index