gitlab-org--gitlab-foss/spec/factories/oauth_openid_requests.rb

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