mirror of
https://github.com/internetee/registry.git
synced 2025-08-01 15:34:41 +02:00
Add current limits to the error message
This commit is contained in:
parent
16d4e4b4e6
commit
dbe1678430
6 changed files with 11 additions and 3 deletions
|
@ -236,6 +236,7 @@ class EppDomainInfoBaseTest < EppTestCase
|
|||
response_xml = Nokogiri::XML(response.body)
|
||||
assert_epp_response :session_limit_exceeded_server_closing_connection
|
||||
assert_correct_against_schema response_xml
|
||||
assert response.body.include?(Shunter.default_error_message)
|
||||
ENV["shunter_default_threshold"] = '10000'
|
||||
ENV["shunter_enabled"] = 'false'
|
||||
end
|
||||
|
|
|
@ -85,7 +85,7 @@ class EppResponseResultCodeTest < ActiveSupport::TestCase
|
|||
2308 => 'Data management policy violation',
|
||||
2400 => 'Command failed',
|
||||
2501 => 'Authentication error; server closing connection',
|
||||
2502 => 'Session limit exceeded; server closing connection'
|
||||
2502 => Shunter.default_error_message
|
||||
}
|
||||
assert_equal descriptions, Epp::Response::Result::Code.default_descriptions
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue