1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-17 16:18:29 +09:00
whippy-edition/spec/fabricators/access_grant_fabricator.rb

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