2019-07-25 01:11:48 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-12-13 19:13:44 -05:00
|
|
|
FactoryBot.define do
|
2016-04-13 01:39:18 -04:00
|
|
|
factory :oauth_access_token do
|
|
|
|
resource_owner
|
|
|
|
application
|
2016-12-09 12:36:50 -05:00
|
|
|
token { Doorkeeper::OAuth::Helpers::UniqueToken.generate }
|
2022-07-08 02:09:41 -04:00
|
|
|
refresh_token { Doorkeeper::OAuth::Helpers::UniqueToken.generate }
|
2016-12-09 12:36:50 -05:00
|
|
|
scopes { application.scopes }
|
2016-04-13 01:39:18 -04:00
|
|
|
end
|
|
|
|
end
|