Commit e1f2bc25 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'sh-fix-issue-348229' into 'master'

Avoid company name collisions in CRM fixture

See merge request gitlab-org/gitlab!76605
parents e2774813 c42e125f
......@@ -12,10 +12,10 @@ class Gitlab::Seeder::Crm
def seed!
organization_ids = []
organizations_per_group.times do
organizations_per_group.times do |index|
organization_ids << ::CustomerRelations::Organization.create!(
group_id: group.id,
name: FFaker::Company.name
name: "#{FFaker::Company.name}-#{index}"
).id
print '.'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment