Commit 5388bb1c authored by Rémy Coutable's avatar Rémy Coutable

Ensure the AbuseReport fixtures create unique reported users

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 58fe40fb
...@@ -7,7 +7,7 @@ module Db ...@@ -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,
......
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