Change EPP response code according to its specification

Fixes #718
This commit is contained in:
Artur Beljajev 2019-09-13 21:29:49 +03:00
parent 03c81c4c5d
commit 79d9c631f5
6 changed files with 25 additions and 17 deletions

View file

@ -39,6 +39,7 @@ class EppResponseResultCodeTest < ActiveSupport::TestCase
parameter_value_syntax_error: 2005,
billing_failure: 2104,
object_is_not_eligible_for_renewal: 2105,
object_is_not_eligible_for_transfer: 2106,
authorization_error: 2201,
invalid_authorization_information: 2202,
object_does_not_exist: 2303,
@ -66,6 +67,7 @@ class EppResponseResultCodeTest < ActiveSupport::TestCase
2005 => 'Parameter value syntax error',
2104 => 'Billing failure',
2105 => 'Object is not eligible for renewal',
2106 => 'Object is not eligible for transfer',
2201 => 'Authorization error',
2202 => 'Invalid authorization information',
2303 => 'Object does not exist',