mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 04:37:30 +02:00
remove active domains from whois job
This commit is contained in:
parent
ed92974b7c
commit
f75d975b29
2 changed files with 2 additions and 3 deletions
|
@ -37,8 +37,7 @@ namespace :whois do
|
|||
end
|
||||
|
||||
print "\n-----> Update disputed domains whois_records"
|
||||
Dispute.active.find_in_batches.each do |group|
|
||||
|
||||
Dispute.find_in_batches.each do |group|
|
||||
UpdateWhoisRecordJob.perform_later group.map(&:domain_name), 'disputed'
|
||||
end
|
||||
end
|
||||
|
|
|
@ -16,7 +16,7 @@ class SendEInvoiceJobTest < ActiveJob::TestCase
|
|||
domain_names = ReservedDomain.find_in_batches.first.map(&:name)
|
||||
assert_domains_processed_by_task(domain_names, 'reserved')
|
||||
end
|
||||
|
||||
|
||||
private
|
||||
|
||||
def assert_domains_processed_by_task(domain_names, type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue