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

@ -64,7 +64,7 @@ class EppDomainDeleteBaseTest < EppTestCase
assert_no_difference 'Domain.count' do
post '/epp/command/delete', { frame: request_xml }, 'HTTP_COOKIE' => 'session=api_bestnames'
end
assert_epp_response :object_is_not_eligible_for_renewal
assert_epp_response :object_status_prohibits_operation
end
def test_requests_registrant_confirmation_when_required