mirror of
https://github.com/internetee/registry.git
synced 2025-06-12 23:54:44 +02:00
parent
cf8cfa8252
commit
2d78688d3f
2 changed files with 0 additions and 10 deletions
|
@ -46,11 +46,6 @@ class APIDomainTransfersTest < ActionDispatch::IntegrationTest
|
||||||
assert_difference -> { @old_registrar.messages.count } do
|
assert_difference -> { @old_registrar.messages.count } do
|
||||||
post '/repp/v1/domain_transfers', request_params, { 'HTTP_AUTHORIZATION' => http_auth_key }
|
post '/repp/v1/domain_transfers', request_params, { 'HTTP_AUTHORIZATION' => http_auth_key }
|
||||||
end
|
end
|
||||||
|
|
||||||
message = 'Domain transfer of shop.test has been approved.' \
|
|
||||||
' Old contacts: jane-001, william-001' \
|
|
||||||
'; old registrant: john-001'
|
|
||||||
assert_equal message, @old_registrar.messages.last.body
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_duplicates_registrant_admin_and_tech_contacts
|
def test_duplicates_registrant_admin_and_tech_contacts
|
||||||
|
|
|
@ -45,11 +45,6 @@ class EppDomainTransferRequestTest < ActionDispatch::IntegrationTest
|
||||||
assert_difference -> { @old_registrar.messages.count } do
|
assert_difference -> { @old_registrar.messages.count } do
|
||||||
post '/epp/command/transfer', { frame: request_xml }, { 'HTTP_COOKIE' => 'session=api_goodnames' }
|
post '/epp/command/transfer', { frame: request_xml }, { 'HTTP_COOKIE' => 'session=api_goodnames' }
|
||||||
end
|
end
|
||||||
|
|
||||||
message = 'Domain transfer of shop.test has been approved.' \
|
|
||||||
' Old contacts: jane-001, william-001' \
|
|
||||||
'; old registrant: john-001'
|
|
||||||
assert_equal message, @old_registrar.messages.last.body
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_duplicates_registrant_admin_and_tech_contacts
|
def test_duplicates_registrant_admin_and_tech_contacts
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue