mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-27 10:43:43 +01:00
8 lines
237 B
Ruby
8 lines
237 B
Ruby
# frozen_string_literal: true
|
|
|
|
Fabricator :access_grant, from: 'Doorkeeper::AccessGrant' do
|
|
application
|
|
resource_owner_id { Fabricate(:user).id }
|
|
expires_in 3_600
|
|
redirect_uri { Doorkeeper.configuration.native_redirect_uri }
|
|
end
|