Ensure the AbuseReport fixtures create unique reported users
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
58fe40fbd3
commit
5388bb1cca
|
@ -7,7 +7,7 @@ module Db
|
|||
(::AbuseReport.default_per_page + 3).times do
|
||||
reported_user =
|
||||
::User.create!(
|
||||
username: FFaker::Internet.user_name,
|
||||
username: "#{FFaker::Internet.user_name}-reported",
|
||||
name: FFaker::Name.name,
|
||||
email: FFaker::Internet.email,
|
||||
confirmed_at: DateTime.now,
|
||||
|
|
Loading…
Reference in New Issue