mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
Add test for clear force delete on registrar change
This commit is contained in:
parent
c252d801f9
commit
e7581246d6
5 changed files with 43 additions and 3 deletions
|
@ -25,7 +25,7 @@ module Concerns::Domain::ForceDelete # rubocop:disable Metrics/ModuleLength
|
|||
|
||||
def should_notify_on_soft_force_delete?
|
||||
force_delete_scheduled? && contact_notification_sent_date.blank? &&
|
||||
force_delete_start.to_date == Time.zone.now.to_date && force_delete_type.to_sym == :soft
|
||||
force_delete_start.to_date <= Time.zone.now.to_date && force_delete_type.to_sym == :soft
|
||||
end
|
||||
|
||||
def client_holdable?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue