Ensure unique identifiers in fabricated objects in tests (#3173)
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
Fabricator(:account) do
|
||||
username { Faker::Internet.user_name(nil, %w(_)) }
|
||||
username { sequence(:username) { |i| "#{Faker::Internet.user_name(nil, %w(_))}#{i}" } }
|
||||
last_webfingered_at { Time.now.utc }
|
||||
end
|
||||
|
Reference in New Issue
Block a user