mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 03:06:14 +02:00
List EPP routes explicitly
This commit is contained in:
parent
ddaf9c9cbf
commit
cb3bf7ffdc
26 changed files with 145 additions and 120 deletions
|
@ -31,7 +31,7 @@ class EppDomainCreateAuctionTest < EppTestCase
|
|||
XML
|
||||
|
||||
assert_difference 'Domain.count' do
|
||||
post '/epp/command/create', { frame: request_xml }, 'HTTP_COOKIE' => 'session=api_bestnames'
|
||||
post epp_create_path, { frame: request_xml }, 'HTTP_COOKIE' => 'session=api_bestnames'
|
||||
end
|
||||
assert_epp_response :completed_successfully
|
||||
end
|
||||
|
@ -68,7 +68,7 @@ class EppDomainCreateAuctionTest < EppTestCase
|
|||
XML
|
||||
|
||||
assert_difference 'Domain.count' do
|
||||
post '/epp/command/create', { frame: request_xml }, 'HTTP_COOKIE' => 'session=api_bestnames'
|
||||
post epp_create_path, { frame: request_xml }, 'HTTP_COOKIE' => 'session=api_bestnames'
|
||||
end
|
||||
assert_epp_response :completed_successfully
|
||||
end
|
||||
|
@ -100,7 +100,7 @@ class EppDomainCreateAuctionTest < EppTestCase
|
|||
XML
|
||||
|
||||
assert_difference 'Domain.count' do
|
||||
post '/epp/command/create', { frame: request_xml }, 'HTTP_COOKIE' => 'session=api_bestnames'
|
||||
post epp_create_path, { frame: request_xml }, 'HTTP_COOKIE' => 'session=api_bestnames'
|
||||
end
|
||||
|
||||
@auction.reload
|
||||
|
@ -132,7 +132,7 @@ class EppDomainCreateAuctionTest < EppTestCase
|
|||
XML
|
||||
|
||||
assert_no_difference 'Domain.count' do
|
||||
post '/epp/command/create', { frame: request_xml }, 'HTTP_COOKIE' => 'session=api_bestnames'
|
||||
post epp_create_path, { frame: request_xml }, 'HTTP_COOKIE' => 'session=api_bestnames'
|
||||
end
|
||||
assert_epp_response :required_parameter_missing
|
||||
end
|
||||
|
@ -164,7 +164,7 @@ class EppDomainCreateAuctionTest < EppTestCase
|
|||
XML
|
||||
|
||||
assert_no_difference 'Domain.count' do
|
||||
post '/epp/command/create', { frame: request_xml }, 'HTTP_COOKIE' => 'session=api_bestnames'
|
||||
post epp_create_path, { frame: request_xml }, 'HTTP_COOKIE' => 'session=api_bestnames'
|
||||
end
|
||||
assert_epp_response :invalid_authorization_information
|
||||
end
|
||||
|
@ -195,7 +195,7 @@ class EppDomainCreateAuctionTest < EppTestCase
|
|||
XML
|
||||
|
||||
assert_no_difference 'Domain.count' do
|
||||
post '/epp/command/create', { frame: request_xml }, 'HTTP_COOKIE' => 'session=api_bestnames'
|
||||
post epp_create_path, { frame: request_xml }, 'HTTP_COOKIE' => 'session=api_bestnames'
|
||||
end
|
||||
assert_epp_response :required_parameter_missing
|
||||
end
|
||||
|
@ -222,7 +222,7 @@ class EppDomainCreateAuctionTest < EppTestCase
|
|||
XML
|
||||
|
||||
assert_no_difference 'Domain.count' do
|
||||
post '/epp/command/create', { frame: request_xml }, 'HTTP_COOKIE' => 'session=api_bestnames'
|
||||
post epp_create_path, { frame: request_xml }, 'HTTP_COOKIE' => 'session=api_bestnames'
|
||||
end
|
||||
assert_epp_response :parameter_value_policy_error
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue