summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-04-03 18:51:29 +0200
committerRémy Coutable <remy@rymai.me>2017-04-03 18:54:48 +0200
commit5388bb1cca501442be05ddf929fae7d1bfcbd1f7 (patch)
treef4c475ae598f90b8579bb5dc37a789d6f9ea9aac
parent58fe40fbd38dce5d42f5f36681780579fb3f031b (diff)
downloadgitlab-ce-5388bb1cca501442be05ddf929fae7d1bfcbd1f7.tar.gz
Ensure the AbuseReport fixtures create unique reported users
Signed-off-by: Rémy Coutable <remy@rymai.me>
-rw-r--r--db/fixtures/development/18_abuse_reports.rb2
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,