X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f064a18a16de7d5001107116c7916796e0b15a26..1b675a6dee47ec5fd00bbab30d7f10a38d885109:/test/factories/oauth_access_grant.rb?ds=sidebyside diff --git a/test/factories/oauth_access_grant.rb b/test/factories/oauth_access_grant.rb index caddea815..b9f53890b 100644 --- a/test/factories/oauth_access_grant.rb +++ b/test/factories/oauth_access_grant.rb @@ -1,7 +1,7 @@ FactoryBot.define do factory :oauth_access_grant, :class => "Doorkeeper::AccessGrant" do - association :resource_owner_id, :factory => :user - association :application, :factory => :oauth_application + resource_owner_id :factory => :user + application :factory => :oauth_application expires_in { 86400 } redirect_uri { application.redirect_uri }