compare fix

This commit is contained in:
Oleg Hasjanov 2021-01-22 19:49:06 +02:00 committed by Alex Sherman
parent 01234cb8a8
commit 3bfac1ba43

View file

@ -26,7 +26,8 @@ class EppDomainTransferRequestTest < EppTestCase
assert_epp_response :completed_successfully
result_hash = @domain.contacts.pluck(:original_id).group_by(&:itself).transform_values(&:count)
assert_equal result_hash[new_contact.id], 1
puts "Shared registrar and tech: #{result_hash}"
assert result_hash[new_contact.id] < 2
end
def test_transfer_domain_with_contacts_if_registrant_and_admin_are_shared
@ -41,9 +42,9 @@ class EppDomainTransferRequestTest < EppTestCase
@domain.reload
assert_epp_response :completed_successfully
result_hash = @domain.contacts.pluck(:original_id).group_by(&:itself).transform_values(&:count)
assert_equal result_hash[new_contact.id], 1
puts "Shared registrar and tech: #{result_hash}"
assert result_hash[new_contact.id] < 2
end
def test_transfer_domain_with_contacts_if_admin_and_tech_are_shared