Ensure the AbuseReport fixtures create unique reported users

Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
Rémy Coutable 2017-04-03 18:51:29 +02:00
parent 58fe40fbd3
commit 5388bb1cca
1 changed files with 1 additions and 1 deletions

View File

@ -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,