X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/8bd98b5da866ef692a1cad493acbf6367fa4ca18..49c3af4a32b38eaebdd9f819bf288a9b80495c12:/test/controllers/api_controller_test.rb diff --git a/test/controllers/api_controller_test.rb b/test/controllers/api_controller_test.rb index d94312f4b..1ad53145a 100644 --- a/test/controllers/api_controller_test.rb +++ b/test/controllers/api_controller_test.rb @@ -382,7 +382,7 @@ class ApiControllerTest < ActionController::TestCase 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