mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
refactoring
This commit is contained in:
parent
a2760e1f9e
commit
01234cb8a8
1 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ class EppDomainTransferRequestTest < EppTestCase
|
||||||
registrar_id = @domain.registrar.id
|
registrar_id = @domain.registrar.id
|
||||||
new_contact = Contact.find_by(registrar_id: registrar_id)
|
new_contact = Contact.find_by(registrar_id: registrar_id)
|
||||||
|
|
||||||
@domain.domain_contacts[1].update!(contact_id: new_contact.id)
|
@domain.tech_domain_contacts[0].update!(contact_id: new_contact.id)
|
||||||
|
|
||||||
post epp_transfer_path, params: { frame: request_xml },
|
post epp_transfer_path, params: { frame: request_xml },
|
||||||
headers: { 'HTTP_COOKIE' => 'session=api_goodnames' }
|
headers: { 'HTTP_COOKIE' => 'session=api_goodnames' }
|
||||||
|
@ -33,7 +33,7 @@ class EppDomainTransferRequestTest < EppTestCase
|
||||||
registrar_id = @domain.registrar.id
|
registrar_id = @domain.registrar.id
|
||||||
new_contact = Contact.find_by(registrar_id: registrar_id)
|
new_contact = Contact.find_by(registrar_id: registrar_id)
|
||||||
|
|
||||||
@domain.domain_contacts[0].update!(contact_id: new_contact.id)
|
@domain.admin_domain_contacts[0].update!(contact_id: new_contact.id)
|
||||||
|
|
||||||
post epp_transfer_path, params: { frame: request_xml },
|
post epp_transfer_path, params: { frame: request_xml },
|
||||||
headers: { 'HTTP_COOKIE' => 'session=api_goodnames' }
|
headers: { 'HTTP_COOKIE' => 'session=api_goodnames' }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue