gitlab-org--gitlab-foss/spec/factories/ci/test_case.rb

9 lines
184 B
Ruby
Raw Normal View History

# frozen_string_literal: true
FactoryBot.define do
factory :ci_test_case, class: 'Ci::TestCase' do
project
key_hash { Digest::SHA256.hexdigest(SecureRandom.hex) }
end
end