mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 02:39:37 +02:00
parent
340e61804b
commit
4b836f1476
23 changed files with 54 additions and 47 deletions
|
@ -2,7 +2,7 @@ require 'test_helper'
|
|||
|
||||
class Repp::DomainTransfersTest < ActionDispatch::IntegrationTest
|
||||
def test_post_to_domain_transfers
|
||||
request_params = { format: :json, domainTransfers: [{ domainName: domains(:shop).name, authInfo: domains(:shop).auth_info }] }
|
||||
request_params = { format: :json, domainTransfers: [{ domainName: domains(:shop).name, transferCode: domains(:shop).transfer_code }] }
|
||||
post '/repp/v1/domain_transfers', request_params, { 'HTTP_AUTHORIZATION' => http_auth_key }
|
||||
assert_response :created
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue