Commit 3914dab9 authored by Eulyeon Ko's avatar Eulyeon Ko Committed by Luke Duncalfe

Generate unique name for security provider factory

https://gitlab.com/gitlab-org/gitlab/-/issues/354821
parent 597ff662
......@@ -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