diff options
author | Rémy Coutable <remy@rymai.me> | 2017-04-03 18:51:29 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-04-03 18:54:48 +0200 |
commit | 5388bb1cca501442be05ddf929fae7d1bfcbd1f7 (patch) | |
tree | f4c475ae598f90b8579bb5dc37a789d6f9ea9aac /db | |
parent | 58fe40fbd38dce5d42f5f36681780579fb3f031b (diff) | |
download | gitlab-ce-5388bb1cca501442be05ddf929fae7d1bfcbd1f7.tar.gz |
Ensure the AbuseReport fixtures create unique reported users
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'db')
-rw-r--r-- | db/fixtures/development/18_abuse_reports.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/fixtures/development/18_abuse_reports.rb b/db/fixtures/development/18_abuse_reports.rb index 762fab5f0ab..a3d33706d8e 100644 --- a/db/fixtures/development/18_abuse_reports.rb +++ b/db/fixtures/development/18_abuse_reports.rb @@ -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, |