mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 09:46:09 +02:00
Merge branch 'html-error-returned-for-invalid-epp-xml-request' of https://github.com/internetee/registry into html-error-returned-for-invalid-epp-xml-request
This commit is contained in:
commit
aa3bf2ff25
1 changed files with 7 additions and 0 deletions
|
@ -34,6 +34,13 @@ class EppBaseTest < EppTestCase
|
|||
end
|
||||
end
|
||||
|
||||
def test_additional_error
|
||||
get '/epp/error', params: { frame: valid_request_xml },
|
||||
headers: { 'HTTP_COOKIE' => 'session=api_bestnames' }
|
||||
|
||||
assert_epp_response :unknown_command
|
||||
end
|
||||
|
||||
def test_validates_request_xml
|
||||
invalid_xml = <<-XML
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue