Use fabrication sequence in domain values (#29895)

pull/29907/head
Matt Jankowski 2024-04-11 04:59:01 -04:00 committed by GitHub
parent 96bdeeed0e
commit 576554b19b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# frozen_string_literal: true
Fabricator(:preview_card_provider) do
domain { Faker::Internet.domain_name }
domain { sequence(:domain) { |i| "#{i}#{Faker::Internet.domain_name}" } }
end

View File

@ -1,5 +1,5 @@
# frozen_string_literal: true
Fabricator(:unavailable_domain) do
domain { Faker::Internet.domain_name }
domain { sequence(:domain) { |i| "#{i}#{Faker::Internet.domain_name}" } }
end