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
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ module Db
|
||||||
(::AbuseReport.default_per_page + 3).times do
|
(::AbuseReport.default_per_page + 3).times do
|
||||||
reported_user =
|
reported_user =
|
||||||
::User.create!(
|
::User.create!(
|
||||||
username: FFaker::Internet.user_name,
|
username: "#{FFaker::Internet.user_name}-reported",
|
||||||
name: FFaker::Name.name,
|
name: FFaker::Name.name,
|
||||||
email: FFaker::Internet.email,
|
email: FFaker::Internet.email,
|
||||||
confirmed_at: DateTime.now,
|
confirmed_at: DateTime.now,
|
||||||
|
|
Loading…
Reference in a new issue