X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0a046673d630a4618c27559875ce613465d85d3c..51e0cf85b0b44c32b0cb097e046eafed7f7f14be:/test/factories/oauth_access_token.rb 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