X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f064a18a16de7d5001107116c7916796e0b15a26..e16f1b2fe640e6f5fbf8e32ac7ddc6f909ab55d3:/test/factories/oauth_access_token.rb?ds=sidebyside diff --git a/test/factories/oauth_access_token.rb b/test/factories/oauth_access_token.rb index c0f624530..3f862fbca 100644 --- a/test/factories/oauth_access_token.rb +++ b/test/factories/oauth_access_token.rb @@ -1,6 +1,5 @@ FactoryBot.define do factory :oauth_access_token, :class => "Doorkeeper::AccessToken" do - association :resource_owner_id, :factory => :user - association :application, :factory => :oauth_application + application :factory => :oauth_application end end