summaryrefslogtreecommitdiff
path: root/spec/factories/x509_certificate.rb
blob: 819ad0704dcdd695c8050cb7ff8a8e8d5e7376e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

FactoryBot.define do
  factory :x509_certificate do
    subject_key_identifier { 'BC:BC:BC:BC:BC:BC:BC:BC:BC:BC:BC:BC:BC:BC:BC:BC:BC:BC:BC:BC' }
    subject { 'CN=gitlab@example.org,OU=Example,O=World' }

    email { 'gitlab@example.org' }
    serial_number { 278969561018901340486471282831158785578 }
    x509_issuer
  end
end