mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Fix paper trail versioning for RegistrantVerification
This commit is contained in:
parent
2d93932d92
commit
cca51b8a03
5 changed files with 118 additions and 96 deletions
|
@ -29,4 +29,13 @@ class DomainDeleteConfirmsTest < ApplicationSystemTestCase
|
|||
@domain.reload
|
||||
assert_equal ['ok'], @domain.statuses
|
||||
end
|
||||
|
||||
def test_saves_whodunnit_info_after_verifivation
|
||||
visit registrant_domain_delete_confirm_url(@domain.id, token: @domain.registrant_verification_token)
|
||||
token = @domain.registrant_verification_token
|
||||
click_on 'Confirm domain delete'
|
||||
assert_text 'Domain registrant change has successfully received.'
|
||||
|
||||
refute RegistrantVerification.find_by(verification_token:token).updator_str.empty?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue