]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/api_controller_test.rb
Use user factories for user_block integration tests.
[rails.git] / test / controllers / api_controller_test.rb
index d94312f4bade28871cf3d2b19794d896f2aaa526..1ad53145ab4274f287c45803af7a2ee73bb49e66 100644 (file)
@@ -382,7 +382,7 @@ class ApiControllerTest < ActionController::TestCase
   end
 
   def test_permissions_basic_auth
   end
 
   def test_permissions_basic_auth
-    basic_authorization(create(:normal_user).email, "test")
+    basic_authorization(create(:user).email, "test")
     get :permissions
     assert_response :success
     assert_select "osm > permissions", :count => 1 do
     get :permissions
     assert_response :success
     assert_select "osm > permissions", :count => 1 do