diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-06-19 19:42:49 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-06-19 19:42:49 +0000 |
commit | e12322dac3baf3c31ea1487884f3b9c3273466ba (patch) | |
tree | dea21182473f3ce451b352fde3df33ea9a1ff15a /test/functional | |
parent | 854177554905159506220cd88aa765fca47bf756 (diff) | |
download | redmine-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')
-rw-r--r-- | test/functional/auth_sources_controller_test.rb | 1 | ||||
-rw-r--r-- | test/functional/email_addresses_controller_test.rb | 1 | ||||
-rw-r--r-- | test/functional/groups_controller_test.rb | 1 | ||||
-rw-r--r-- | test/functional/members_controller_test.rb | 1 | ||||
-rw-r--r-- | test/functional/my_controller_test.rb | 1 | ||||
-rw-r--r-- | test/functional/projects_controller_test.rb | 1 | ||||
-rw-r--r-- | test/functional/roles_controller_test.rb | 1 | ||||
-rw-r--r-- | test/functional/settings_controller_test.rb | 1 | ||||
-rw-r--r-- | test/functional/users_controller_test.rb | 1 |
9 files changed, 0 insertions, 9 deletions
diff --git a/test/functional/auth_sources_controller_test.rb b/test/functional/auth_sources_controller_test.rb index 580624ec0..7e15ee8a3 100644 --- a/test/functional/auth_sources_controller_test.rb +++ b/test/functional/auth_sources_controller_test.rb @@ -22,7 +22,6 @@ class AuthSourcesControllerTest < ActionController::TestCase def setup @request.session[:user_id] = 1 - Redmine::SudoMode.disable! end def test_index diff --git a/test/functional/email_addresses_controller_test.rb b/test/functional/email_addresses_controller_test.rb index 88bad24e7..7c52d9c1d 100644 --- a/test/functional/email_addresses_controller_test.rb +++ b/test/functional/email_addresses_controller_test.rb @@ -22,7 +22,6 @@ class EmailAddressesControllerTest < ActionController::TestCase def setup User.current = nil - Redmine::SudoMode.disable! end def test_index_with_no_additional_emails diff --git a/test/functional/groups_controller_test.rb b/test/functional/groups_controller_test.rb index c928e24a3..7bce2af56 100644 --- a/test/functional/groups_controller_test.rb +++ b/test/functional/groups_controller_test.rb @@ -22,7 +22,6 @@ class GroupsControllerTest < ActionController::TestCase def setup @request.session[:user_id] = 1 - Redmine::SudoMode.disable! end def test_index diff --git a/test/functional/members_controller_test.rb b/test/functional/members_controller_test.rb index 197158c35..5bad28745 100644 --- a/test/functional/members_controller_test.rb +++ b/test/functional/members_controller_test.rb @@ -23,7 +23,6 @@ class MembersControllerTest < ActionController::TestCase def setup User.current = nil @request.session[:user_id] = 2 - Redmine::SudoMode.disable! end def test_new diff --git a/test/functional/my_controller_test.rb b/test/functional/my_controller_test.rb index c2eee6e73..5a7b33940 100644 --- a/test/functional/my_controller_test.rb +++ b/test/functional/my_controller_test.rb @@ -23,7 +23,6 @@ class MyControllerTest < ActionController::TestCase def setup @request.session[:user_id] = 2 - Redmine::SudoMode.disable! end def test_index diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb index 1bfa20040..2efb98ccd 100644 --- a/test/functional/projects_controller_test.rb +++ b/test/functional/projects_controller_test.rb @@ -28,7 +28,6 @@ class ProjectsControllerTest < ActionController::TestCase def setup @request.session[:user_id] = nil Setting.default_language = 'en' - Redmine::SudoMode.disable! end def test_index_by_anonymous_should_not_show_private_projects 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 diff --git a/test/functional/settings_controller_test.rb b/test/functional/settings_controller_test.rb index aeefa8f98..de5fddd8a 100644 --- a/test/functional/settings_controller_test.rb +++ b/test/functional/settings_controller_test.rb @@ -24,7 +24,6 @@ class SettingsControllerTest < ActionController::TestCase def setup User.current = nil @request.session[:user_id] = 1 # admin - Redmine::SudoMode.disable! end def test_index diff --git a/test/functional/users_controller_test.rb b/test/functional/users_controller_test.rb index d6d18dc19..b34c80945 100644 --- a/test/functional/users_controller_test.rb +++ b/test/functional/users_controller_test.rb @@ -30,7 +30,6 @@ class UsersControllerTest < ActionController::TestCase def setup User.current = nil @request.session[:user_id] = 1 # admin - Redmine::SudoMode.disable! end def test_index |