summaryrefslogtreecommitdiff
path: root/spec/factories/x509_certificate.rb
blob: 37912548434a284c63a81cf92557aefa30e2b250 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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
    certificate_status { :good }
  end
end