2020-02-06 19:09:12 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
FactoryBot.define do
|
2021-12-13 07:12:59 -05:00
|
|
|
factory :x509_commit_signature, class: 'CommitSignatures::X509CommitSignature' do
|
2020-02-06 19:09:12 -05:00
|
|
|
commit_sha { Digest::SHA1.hexdigest(SecureRandom.hex) }
|
|
|
|
project
|
|
|
|
x509_certificate
|
|
|
|
verification_status { :verified }
|
|
|
|
end
|
|
|
|
end
|