mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 11:16:00 +02:00
parent
bb108efedd
commit
fa52001be6
141 changed files with 1388 additions and 1664 deletions
|
@ -23,7 +23,8 @@ class EppLoginCredentialsTest < EppTestCase
|
|||
</epp>
|
||||
XML
|
||||
|
||||
post epp_login_path, { frame: request_xml }, { 'HTTP_COOKIE' => 'session=new_session_id' }
|
||||
post epp_login_path, params: { frame: request_xml },
|
||||
headers: { 'HTTP_COOKIE' => 'session=new_session_id' }
|
||||
assert EppSession.find_by(session_id: 'new_session_id')
|
||||
assert_equal users(:api_bestnames), EppSession.find_by(session_id: 'new_session_id').user
|
||||
assert_epp_response :completed_successfully
|
||||
|
@ -55,7 +56,8 @@ class EppLoginCredentialsTest < EppTestCase
|
|||
</epp>
|
||||
XML
|
||||
|
||||
post epp_login_path, { frame: request_xml }, 'HTTP_COOKIE' => 'session=any_random_string'
|
||||
post epp_login_path, params: { frame: request_xml },
|
||||
headers: { 'HTTP_COOKIE' => 'session=any_random_string' }
|
||||
|
||||
assert_epp_response :authentication_error_server_closing_connection
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue