summaryrefslogtreecommitdiffstats
path: root/test/test_helper.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/test_helper.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/test_helper.rb')
-rw-r--r--test/test_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index d163c10b2..be4e68e18 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -33,6 +33,8 @@ include ObjectHelpers
require 'net/ldap'
require 'mocha/setup'
+Redmine::SudoMode.disable!
+
class ActionView::TestCase
helper :application
include ApplicationHelper