summaryrefslogtreecommitdiffstats
path: root/test/integration/api_test/api_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/api_test/api_test.rb')
-rw-r--r--test/integration/api_test/api_test.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/integration/api_test/api_test.rb b/test/integration/api_test/api_test.rb
index ab70533fa..56f8f8d4e 100644
--- a/test/integration/api_test/api_test.rb
+++ b/test/integration/api_test/api_test.rb
@@ -20,10 +20,6 @@ require File.expand_path('../../../test_helper', __FILE__)
class Redmine::ApiTest::ApiTest < Redmine::ApiTest::Base
fixtures :users
- def setup
- Setting.rest_api_enabled = '1'
- end
-
def test_api_should_work_with_protect_from_forgery
ActionController::Base.allow_forgery_protection = true
assert_difference('User.count') do