debian-mirror-gitlab/spec/factories/oauth_openid_requests.rb
2020-01-01 13:55:28 +05:30

8 lines
224 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :oauth_openid_request, class: 'Doorkeeper::OpenidConnect::Request' do
access_grant factory: :oauth_access_grant
sequence(:nonce) { |n| n.to_s }
end
end