2 factory :oauth_access_grant, :class => "Doorkeeper::AccessGrant" do
3 application :factory => :oauth_application
5 resource_owner_id { user.id }
8 redirect_uri { application.redirect_uri }
11 user { create(:user) } # rubocop:disable FactoryBot/FactoryAssociationWithStrategy