mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
parent
fb9f7a561e
commit
a713d6f811
16 changed files with 133 additions and 82 deletions
|
@ -91,7 +91,7 @@ class APIDomainContactsTest < ActionDispatch::IntegrationTest
|
|||
{ 'HTTP_AUTHORIZATION' => http_auth_key }
|
||||
assert_response :bad_request
|
||||
assert_equal ({ error: { type: 'invalid_request_error',
|
||||
message: 'Successor contact must be different from predecessor' } }),
|
||||
message: 'New contact ID must be different from current contact ID' } }),
|
||||
JSON.parse(response.body, symbolize_names: true)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue