X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7ce77006fad5205dc85206d5841657967c6f16c3..c9d35839befe92d916425baa4daec7dd77ade929:/test/controllers/api_controller_test.rb diff --git a/test/controllers/api_controller_test.rb b/test/controllers/api_controller_test.rb index d10e5277e..116af7362 100644 --- a/test/controllers/api_controller_test.rb +++ b/test/controllers/api_controller_test.rb @@ -385,7 +385,7 @@ class ApiControllerTest < ActionController::TestCase end def test_permissions_oauth - @request.env["oauth.token"] = AccessToken.new do |token| + @request.env["oauth.token"] = AccessToken.new do |token| # Just to test a few token.allow_read_prefs = true token.allow_write_api = true