15 lines
409 B
Ruby
15 lines
409 B
Ruby
# frozen_string_literal: true
|
|
|
|
FactoryBot.define do
|
|
factory :ci_reports_security_identifier, class: '::Gitlab::Ci::Reports::Security::Identifier' do
|
|
external_id { 'PREDICTABLE_RANDOM' }
|
|
external_type { 'find_sec_bugs_type' }
|
|
name { "#{external_type}-#{external_id}" }
|
|
|
|
skip_create
|
|
|
|
initialize_with do
|
|
::Gitlab::Ci::Reports::Security::Identifier.new(**attributes)
|
|
end
|
|
end
|
|
end
|