mirror of
https://github.com/internetee/registry.git
synced 2025-07-29 14:06:21 +02:00
transfer code change during registrant change
This commit is contained in:
parent
e2c6c9ef97
commit
8916bcd0d6
4 changed files with 31 additions and 186 deletions
|
@ -514,7 +514,6 @@ class EppDomainUpdateBaseTest < EppTestCase
|
|||
assert_correct_against_schema response_xml
|
||||
assert_epp_response :completed_successfully
|
||||
refute_includes @domain.statuses, DomainStatus::PENDING_UPDATE
|
||||
|
||||
end
|
||||
|
||||
def test_skips_verification_when_provided_registrant_is_the_same_as_current_one
|
||||
|
@ -559,6 +558,8 @@ class EppDomainUpdateBaseTest < EppTestCase
|
|||
dispute.update!(starts_at: Time.zone.now, expires_at: Time.zone.now + 5.days, closed: nil)
|
||||
new_registrant = contacts(:william)
|
||||
|
||||
old_transfer_code = @domain.transfer_code
|
||||
|
||||
assert @domain.disputed?
|
||||
|
||||
request_xml = <<-XML
|
||||
|
@ -596,6 +597,7 @@ class EppDomainUpdateBaseTest < EppTestCase
|
|||
assert_not @domain.registrant_verification_asked?
|
||||
assert_not @domain.disputed?
|
||||
assert_no_emails
|
||||
refute_equal @domain.transfer_code, old_transfer_code
|
||||
end
|
||||
|
||||
def test_dispute_password_mandatory_when_registrant_changed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue