mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 11:16:00 +02:00
Merge pull request #1736 from internetee/897-fix-pending-update-emails
Fix DomainCron sending registrant change expired mail
This commit is contained in:
commit
632ee16acf
4 changed files with 7 additions and 25 deletions
|
@ -72,11 +72,12 @@ class RegistrantChangeMailerTest < ActionMailer::TestCase
|
|||
|
||||
email = RegistrantChangeMailer.expired(domain: @domain,
|
||||
registrar: @domain.registrar,
|
||||
registrant: @domain.registrant).deliver_now
|
||||
registrant: @domain.registrant,
|
||||
send_to: @domain.new_registrant_email).deliver_now
|
||||
|
||||
assert_emails 1
|
||||
assert_equal ['william@inbox.test'], email.to
|
||||
assert_equal 'Domeeni shop.test registreerija vahetuse taotlus on tühistatud' \
|
||||
' / shop.test registrant change cancelled', email.subject
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue