gitlab-org--gitlab-foss/spec/factories/commit_signature/x509_commit_signature.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
277 B
Ruby
Raw Normal View History

# frozen_string_literal: true
FactoryBot.define do
factory :x509_commit_signature, class: 'CommitSignatures::X509CommitSignature' do
commit_sha { Digest::SHA1.hexdigest(SecureRandom.hex) }
project
x509_certificate
verification_status { :verified }
end
end