Fix generated usernames in seeds potentially being too short
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Râu Cao 2023-09-04 11:35:51 +02:00
parent 0f3b9f176e
commit a91ee2bd0a
Signed by: raucao
GPG Key ID: 15E65F399D084BA9

View File

@ -13,6 +13,7 @@ Sidekiq::Testing.inline! do
35.times do |n|
username = Faker::Name.unique.first_name.downcase
email = Faker::Internet.unique.email
next if username.length < 3
CreateAccount.call(
username: username, domain: "kosmos.org", email: email,