]> git.openstreetmap.org Git - rails.git/blob - test/factories/oauth_access_grant.rb
Merge pull request #5303 from tomhughes/remember-me
[rails.git] / test / factories / oauth_access_grant.rb
1 FactoryBot.define do
2   factory :oauth_access_grant, :class => "Doorkeeper::AccessGrant" do
3     resource_owner_id :factory => :user
4     application :factory => :oauth_application
5
6     expires_in { 86400 }
7     redirect_uri { application.redirect_uri }
8   end
9 end