]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/api_controller_test.rb
Remove fake qqq locale
[rails.git] / test / controllers / api_controller_test.rb
index 540f303ed9c386655d92cb60d79eda4b7a4aa8e4..1ad53145ab4274f287c45803af7a2ee73bb49e66 100644 (file)
@@ -382,7 +382,7 @@ class ApiControllerTest < ActionController::TestCase
   end
 
   def test_permissions_basic_auth
-    basic_authorization(users(:normal_user).email, "test")
+    basic_authorization(create(:user).email, "test")
     get :permissions
     assert_response :success
     assert_select "osm > permissions", :count => 1 do