access_grant_fabricator.rb 206 B

123456
  1. Fabricator :access_grant, from: 'Doorkeeper::AccessGrant' do
  2. application
  3. resource_owner_id { Fabricate(:user).id }
  4. expires_in 3_600
  5. redirect_uri { Doorkeeper.configuration.native_redirect_uri }
  6. end