Merge pull request #10817 from demarches-simplifiees/fix-db-seeds

Correctif : ajoute une assignation manquante dans `db/seeds.rb`
This commit is contained in:
LeSim 2024-09-18 09:18:41 +00:00 committed by GitHub
commit 2d37cfbfb8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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