Merge pull request #10817 from demarches-simplifiees/fix-db-seeds
Correctif : ajoute une assignation manquante dans `db/seeds.rb`
This commit is contained in:
commit
2d37cfbfb8
1 changed files with 4 additions and 4 deletions
|
@ -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!
|
||||||
|
|
Loading…
Reference in a new issue