mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
fix tests -> count of running jobs were decreased
This commit is contained in:
parent
bbdf44583c
commit
19df0cd57f
2 changed files with 2 additions and 3 deletions
|
@ -75,8 +75,7 @@ class CompanyRegisterStatusJob < ApplicationJob
|
|||
|
||||
def check_for_force_delete(contact)
|
||||
contact.registrant_domains.any? do |domain|
|
||||
notes = domain.status_notes[DomainStatus::FORCE_DELETE]
|
||||
notes && notes.include?("Company no: #{contact.ident}")
|
||||
domain.force_delete_scheduled? && notes.include?("Company no: #{contact.ident}")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue