access_grant_fabricator.rb 237 B

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