mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
Handle children errors
This commit is contained in:
parent
3dca771bcb
commit
9ce6efc4db
8 changed files with 86 additions and 9 deletions
|
@ -78,6 +78,12 @@ describe 'EPP Domain', epp: true do
|
|||
expect(response[:result_code]).to eq('2306')
|
||||
expect(response[:msg]).to eq('Domain must have 1-13 nameservers')
|
||||
end
|
||||
|
||||
it 'returns error when invalid nameservers are present' do
|
||||
response = epp_request('domains/create_w_invalid_nameservers.xml')
|
||||
expect(response[:result_code]).to eq('2005')
|
||||
expect(response[:msg]).to eq('Hostname is invalid')
|
||||
end
|
||||
end
|
||||
|
||||
context 'with juridical persion as an owner' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue