]> git.openstreetmap.org Git - rails.git/blob - test/factories/oauth_access_grant.rb
Don't highlight selected items in the data layer
[rails.git] / test / factories / oauth_access_grant.rb
1 FactoryBot.define do
2   factory :oauth_access_grant, :class => "Doorkeeper::AccessGrant" do
3     association :resource_owner_id, :factory => :user
4     association :application, :factory => :oauth_application
5
6     expires_in { 86400 }
7     redirect_uri { application.redirect_uri }
8   end
9 end