mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
parent
6a7effac50
commit
4d7a222547
7 changed files with 21 additions and 25 deletions
|
@ -47,7 +47,9 @@ class APIDomainTransfersTest < ActionDispatch::IntegrationTest
|
|||
post '/repp/v1/domain_transfers', request_params, { 'HTTP_AUTHORIZATION' => http_auth_key }
|
||||
end
|
||||
|
||||
message = 'Domain transfer was approved, associated contacts were: ["jane-001", "william-001"] and registrant was john-001'
|
||||
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
|
||||
|
||||
|
|
|
@ -46,7 +46,9 @@ class EppDomainTransferRequestTest < ActionDispatch::IntegrationTest
|
|||
post '/epp/command/transfer', { frame: request_xml }, { 'HTTP_COOKIE' => 'session=api_goodnames' }
|
||||
end
|
||||
|
||||
message = 'Domain transfer was approved, associated contacts were: ["jane-001", "william-001"] and registrant was john-001'
|
||||
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
|
||||
|
||||
|
|
|
@ -18,7 +18,9 @@ class DomainTransferTest < ActiveSupport::TestCase
|
|||
@domain_transfer.approve
|
||||
end
|
||||
|
||||
body = 'Domain transfer was approved, associated contacts were: ["jane-001", "william-001"] and registrant was john-001'
|
||||
body = 'Domain transfer of shop.test has been approved.' \
|
||||
' Old contacts: jane-001, william-001' \
|
||||
'; old registrant: john-001'
|
||||
id = @domain_transfer.id
|
||||
class_name = @domain_transfer.class.name
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue