mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 17:55:55 +02:00
Turn of pending delete notification email delivery #2557
This commit is contained in:
parent
19c553244c
commit
f34a7193d4
2 changed files with 2 additions and 1 deletions
|
@ -404,6 +404,7 @@ class Epp::Domain < Domain
|
|||
|
||||
if frame.css('delete').attr('verified').to_s.downcase != 'yes'
|
||||
registrant_verification_asked!(frame.to_s, user_id)
|
||||
self.deliver_emails = true # turn on email delivery for epp
|
||||
pending_delete!
|
||||
manage_automatic_statuses
|
||||
true # aka 1001 pending_delete
|
||||
|
|
|
@ -82,7 +82,7 @@ describe DomainMailer do
|
|||
end
|
||||
end
|
||||
|
||||
describe 'email changed notification' do
|
||||
describe 'email pending delete notification' do
|
||||
before :all do
|
||||
@registrant = Fabricate(:registrant, email: 'test@example.com')
|
||||
@domain = Fabricate(:domain, name: 'delete-pending.ee', registrant: @registrant)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue