mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 08:22:05 +02:00
Merge pull request #2755 from internetee/upgrade-registrar-invalid-company-notification
Refactor force delete notifications and improve status handling
This commit is contained in:
commit
5b1a5a6d06
5 changed files with 26 additions and 12 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue