mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 17:01:44 +02:00
Fix existing tests
This commit is contained in:
parent
3ce0fc4a5c
commit
0116531786
4 changed files with 8 additions and 16 deletions
|
@ -20,7 +20,13 @@ module Concerns::Domain::ForceDelete # rubocop:disable Metrics/ModuleLength
|
|||
end
|
||||
|
||||
def notification_template
|
||||
registrant.org? ? 'legal_person' : 'private_person'
|
||||
if contact_emails_verification_failed.present?
|
||||
'invalid_email'
|
||||
elsif registrant.org?
|
||||
'legal_person'
|
||||
else
|
||||
'private_person'
|
||||
end
|
||||
end
|
||||
|
||||
def force_delete_scheduled?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue