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

9 lines
224 B
Ruby
Raw Normal View History

# 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