]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/api_controller_test.rb
Reverse coordinates order only when called with two nondescript numbers
[rails.git] / test / controllers / api_controller_test.rb
index 9cdbd718c99b49d0f0f8325fe7f594fc0b1f0179..11d850ac35f67edfab51a043b96b9970005cccd5 100644 (file)
@@ -406,7 +406,7 @@ class ApiControllerTest < ActionController::TestCase
   end
 
   def test_permissions_basic_auth
-    basic_authorization(create(:user).email, "test")
+    basic_authorization create(:user).email, "test"
     get :permissions
     assert_response :success
     assert_select "osm > permissions", :count => 1 do