X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/368465287ddb97df450c13b35dcd2c59ecedd36d..71f31bfc4c86b5daa8dc481226a56e2191a1b1fe:/test/factories/oauth_access_token.rb?ds=inline diff --git a/test/factories/oauth_access_token.rb b/test/factories/oauth_access_token.rb index 3f862fbca..6a8b62f6c 100644 --- a/test/factories/oauth_access_token.rb +++ b/test/factories/oauth_access_token.rb @@ -1,5 +1,7 @@ FactoryBot.define do factory :oauth_access_token, :class => "Doorkeeper::AccessToken" do application :factory => :oauth_application + + resource_owner_id { create(:user).id } end end