fix: administrateur_mailer preview

This commit is contained in:
simon lehericey 2022-10-06 11:15:48 +02:00 committed by LeSim
parent 183506810b
commit 6841e80414

View file

@ -1,8 +1,8 @@
class AdministrateurMailerPreview < ActionMailer::Preview
def activate_before_expiration
administrateur = Administrateur.new(reset_password_sent_at: Time.zone.now)
user = User.new(reset_password_sent_at: Time.zone.now)
AdministrateurMailer.activate_before_expiration(administrateur, "a4d4e4f4b4d445")
AdministrateurMailer.activate_before_expiration(user, "a4d4e4f4b4d445")
end
def notify_procedure_expires_when_termine_forced