Merge pull request #2755 from internetee/upgrade-registrar-invalid-company-notification

Refactor force delete notifications and improve status handling
This commit is contained in:
Timo Võhmar 2025-02-20 10:11:17 +02:00 committed by GitHub
commit 5b1a5a6d06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 26 additions and 12 deletions

View file

@ -185,6 +185,8 @@ class CompanyRegisterStatusJobTest < ActiveSupport::TestCase
domain_name: @registrant_acme.registrant_domains.first.name,
outzone_date: @registrant_acme.registrant_domains.first.outzone_date,
purge_date: @registrant_acme.registrant_domains.first.purge_date,
force_delete_type: 'Fast Track',
force_delete_start_date: @registrant_acme.registrant_domains.first.force_delete_start.strftime('%d.%m.%Y'),
notes: "Contact has status deleted")
assert_equal @registrant_acme.registrant_domains.first.registrar.notifications.last.text, template