mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 06:26:15 +02:00
Fix tests
This commit is contained in:
parent
f8612d687f
commit
d0d40cc792
2 changed files with 1 additions and 6 deletions
|
@ -32,7 +32,7 @@ module Domain::ForceDelete
|
|||
|
||||
def notification_template(explicit: nil)
|
||||
reason = explicit&.downcase
|
||||
return reason if %w[invalid_phone].include?(reason)
|
||||
return reason if %w[invalid_email invalid_phone].include?(reason)
|
||||
|
||||
registrant.org? ? 'legal_person' : 'private_person'
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue