mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
parent
ecc68f083d
commit
d42bdfbc0f
2 changed files with 5 additions and 4 deletions
|
@ -59,10 +59,6 @@ class APIDomainTransfersTest < ActionDispatch::IntegrationTest
|
|||
end
|
||||
|
||||
def test_reuses_identical_contact
|
||||
request_params = { format: :json,
|
||||
data: { domainTransfers: [{ domainName: 'shop.test', transferCode: '65078d5' },
|
||||
{ domainName: 'airport.test', transferCode: '55438j5' },
|
||||
{ domainName: 'library.test', transferCode: '45118f5' }] } }
|
||||
post '/repp/v1/domain_transfers', request_params, { 'HTTP_AUTHORIZATION' => http_auth_key }
|
||||
assert_equal 1, @new_registrar.contacts.where(name: 'William').size
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue