Fix error code/message

This commit is contained in:
Alex Sherman 2021-04-28 14:02:31 +05:00
parent 0f58e47513
commit c52c669339
3 changed files with 6 additions and 6 deletions

View file

@ -74,7 +74,7 @@ class EppDomainCreateBaseTest < EppTestCase
headers: { 'HTTP_COOKIE' => 'session=api_bestnames' }
end
assert_epp_response :parameter_value_policy_error
assert_epp_response :data_management_policy_violation
end
def test_too_big_legal_document
@ -108,8 +108,8 @@ class EppDomainCreateBaseTest < EppTestCase
headers: { 'HTTP_COOKIE' => 'session=api_bestnames' }
end
assert_epp_response :parameter_value_policy_error
error_description = 'legalDocument size should be less than 8mB'
assert_epp_response :data_management_policy_violation
error_description = 'Legaldoc size exceeds maximum allowed size of 8mB'
assert response.body.include? error_description
end