From 3bfac1ba436dd12023f0cb98391ae7c8c5e6e3eb Mon Sep 17 00:00:00 2001 From: Oleg Hasjanov Date: Fri, 22 Jan 2021 19:49:06 +0200 Subject: [PATCH] compare fix --- test/integration/epp/domain/transfer/request_test.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/integration/epp/domain/transfer/request_test.rb b/test/integration/epp/domain/transfer/request_test.rb index 795d1c3d5..f38947649 100644 --- a/test/integration/epp/domain/transfer/request_test.rb +++ b/test/integration/epp/domain/transfer/request_test.rb @@ -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