List EPP routes explicitly

This commit is contained in:
Artur Beljajev 2019-10-01 15:21:08 +03:00
parent ddaf9c9cbf
commit cb3bf7ffdc
26 changed files with 145 additions and 120 deletions

View file

@ -50,7 +50,7 @@ class EppBaseTest < EppTestCase
</command>
</epp>
XML
post '/epp/command/info', { frame: xml_of_epp_command_that_requires_authentication },
post epp_info_path, { frame: xml_of_epp_command_that_requires_authentication },
'HTTP_COOKIE' => 'session=non-existent'
assert_epp_response :authorization_error
@ -74,7 +74,7 @@ class EppBaseTest < EppTestCase
</command>
</epp>
XML
post '/epp/command/info', { frame: xml_of_epp_command_that_requires_authorization },
post epp_info_path, { frame: xml_of_epp_command_that_requires_authorization },
'HTTP_COOKIE' => "session=#{session.session_id}"
assert_epp_response :authorization_error
@ -83,7 +83,7 @@ class EppBaseTest < EppTestCase
private
def valid_command_path
epp_command_poll_path
epp_poll_path
end
def valid_request_xml