Commit 7aca51cc authored by Luke Duncalfe's avatar Luke Duncalfe

Merge branch '354821-broken-master-duplicate-key-value-violates-unique-constraint' into 'master'

Generate unique name for security provider factory

See merge request gitlab-org/gitlab!82358
parents e62a8742 3914dab9
......@@ -2,7 +2,7 @@
FactoryBot.define do
factory :security_training_provider, class: 'Security::TrainingProvider' do
name { 'Acme' }
sequence(:name) { |n| "acme #{n}" }
url { 'example.com' }
end
end
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