# frozen_string_literal: true

FactoryBot.define do
  factory :cycle_analytics_group_stage, class: 'Analytics::CycleAnalytics::GroupStage' do
    sequence(:name) { |n| "Stage ##{n}" }
    start_event_identifier { Gitlab::Analytics::CycleAnalytics::StageEvents::MergeRequestCreated.identifier }
    end_event_identifier { Gitlab::Analytics::CycleAnalytics::StageEvents::MergeRequestMerged.identifier }
    group
  end
end
