Welcome to mirror list, hosted at ThFree Co, Russian Federation.

failures.rb « bulk_import « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1ebdfdd6c4203c7a856e3ee8357a2928997d67e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

require 'securerandom'

FactoryBot.define do
  factory :bulk_import_failure, class: 'BulkImports::Failure' do
    association :entity, factory: :bulk_import_entity

    pipeline_class { 'BulkImports::TestPipeline' }
    exception_class { 'StandardError' }
    exception_message { 'Standard Error Message' }
    correlation_id_value { SecureRandom.uuid }
  end
end