mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 00:12:03 +02:00
parent
d5197962ee
commit
4e6d576b67
4 changed files with 21 additions and 14 deletions
|
@ -60,9 +60,8 @@ RSpec.describe 'EPP contact:update' do
|
|||
specify do
|
||||
request
|
||||
|
||||
message = 'Data management policy violation:' \
|
||||
' update of ident not allowed, please consider creating new contact object'
|
||||
expect(epp_response).to have_result(:data_management_policy_violation, message)
|
||||
expect(epp_response).to have_result(:data_management_policy_violation,
|
||||
t('epp.contacts.errors.update_disallowed'))
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -172,9 +171,8 @@ RSpec.describe 'EPP contact:update' do
|
|||
specify do
|
||||
request
|
||||
|
||||
message = 'Data management policy violation:' \
|
||||
' update of ident not allowed, please consider creating new contact object'
|
||||
expect(epp_response).to have_result(:data_management_policy_violation, message)
|
||||
expect(epp_response).to have_result(:data_management_policy_violation,
|
||||
t('epp.contacts.errors.wrong_ident'))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue