diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-03 18:06:20 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-03 18:06:20 +0300 |
commit | 4204cf308596e0e26f578a6e2da88f49c0f4aad9 (patch) | |
tree | 644447bcb576a459e079318b06712b7c89416e2b /spec/factories/oauth_openid_requests.rb | |
parent | cd4cb29b2c304f00d238ee72fe40c767cb3e2675 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories/oauth_openid_requests.rb')
-rw-r--r-- | spec/factories/oauth_openid_requests.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/factories/oauth_openid_requests.rb b/spec/factories/oauth_openid_requests.rb new file mode 100644 index 00000000000..82d89b5c8ca --- /dev/null +++ b/spec/factories/oauth_openid_requests.rb @@ -0,0 +1,8 @@ +# 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 |