summaryrefslogtreecommitdiffstats
path: root/test/integration/api_test/authentication_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/api_test/authentication_test.rb')
-rw-r--r--test/integration/api_test/authentication_test.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/integration/api_test/authentication_test.rb b/test/integration/api_test/authentication_test.rb
index 8452717e3..2369fd01a 100644
--- a/test/integration/api_test/authentication_test.rb
+++ b/test/integration/api_test/authentication_test.rb
@@ -20,14 +20,6 @@ require File.expand_path('../../../test_helper', __FILE__)
class Redmine::ApiTest::AuthenticationTest < Redmine::ApiTest::Base
fixtures :users
- def setup
- Setting.rest_api_enabled = '1'
- end
-
- def teardown
- Setting.rest_api_enabled = '0'
- end
-
def test_api_should_deny_without_credentials
get '/users/current.xml', {}
assert_response 401