fix(seeds): fix typo

This commit is contained in:
Eric Leroy-Terquem 2024-09-18 10:27:21 +02:00
parent 38ced210a9
commit 8e2c5bfd56
No known key found for this signature in database
GPG key ID: 53D8FAECEF207605

View file

@ -21,8 +21,8 @@ user = User.create!(
user.create_instructeur!
user.create_administrateur!
user_fixer User.create(email: ENV.fetch('DEFAULT_INSTRUCTEUR_EMAIL') { CONTACT_EMAIL },
password: Random.srand,
confirmed_at: Time.zone.now,
email_verified_at: Time.zone.now)
user_fixer = User.create(email: ENV.fetch('DEFAULT_INSTRUCTEUR_EMAIL') { CONTACT_EMAIL },
password: Random.srand,
confirmed_at: Time.zone.now,
email_verified_at: Time.zone.now)
user_fixer.create_instructeur!