mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Add i18n, change error response code to 2304
This commit is contained in:
parent
340e1820f2
commit
b9d57be6ab
4 changed files with 7 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue