mirror of
https://github.com/internetee/registry.git
synced 2025-07-28 05:26:17 +02:00
feat: add status notes to force delete notifications
- Add notes parameter to force delete interactions to provide more context - Include company registry status in force delete notifications - Add status mapping constants for better readability - Move status note assignment before save in force delete process Technical details: - Add notes field to Domains::ForceDelete::Base interaction - Update force delete notifications to include status notes - Add REGISTRY_STATUSES mapping in CompanyRegisterStatusJob - Update tests to verify new notification format
This commit is contained in:
parent
45c77f7052
commit
2ec545b3aa
7 changed files with 22 additions and 9 deletions
|
@ -184,7 +184,8 @@ class CompanyRegisterStatusJobTest < ActiveSupport::TestCase
|
|||
ident: @registrant_acme.ident,
|
||||
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)
|
||||
purge_date: @registrant_acme.registrant_domains.first.purge_date,
|
||||
notes: "Contact has status deleted")
|
||||
assert_equal @registrant_acme.registrant_domains.first.registrar.notifications.last.text, template
|
||||
|
||||
CompanyRegister::Client.define_singleton_method(:new, original_new_method)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue