mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
7 lines
206 B
Ruby
7 lines
206 B
Ruby
|
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
|