Fix #1087: Add unban reason to fake data (#1089)

This commit is contained in:
Jason Maa 2022-06-01 07:13:02 -04:00 committed by GitHub
parent 60e86da8cd
commit 604d00f8c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ class FakeDataGenerator
user.ban_by_user_for_reason!(User.moderators.sample,
Faker::Lorem.sentence(word_count: 5))
if i.even?
user.unban_by_user!(User.moderators.sample, "reformed")
user.unban_by_user!(User.moderators.sample, Faker::Lorem.sentence(word_count: 5))
end
end
puts