Add i18n, change error response code to 2304

This commit is contained in:
Alex Sherman 2021-02-15 19:46:16 +05:00
parent 340e1820f2
commit b9d57be6ab
4 changed files with 7 additions and 5 deletions

View file

@ -51,7 +51,7 @@ class EppContactDeleteBaseTest < EppTestCase
headers: { 'HTTP_COOKIE' => 'session=api_bestnames' }
assert Contact.exists?(id: contact.id)
assert_epp_response :object_association_prohibits_operation
assert_epp_response :object_status_prohibits_operation
end
def test_delete_contact_with_client_delete_prohibited
@ -78,7 +78,7 @@ class EppContactDeleteBaseTest < EppTestCase
headers: { 'HTTP_COOKIE' => 'session=api_bestnames' }
assert Contact.exists?(id: contact.id)
assert_epp_response :object_association_prohibits_operation
assert_epp_response :object_status_prohibits_operation
end
def test_undeletable_cannot_be_deleted