mirror of
https://github.com/internetee/registry.git
synced 2025-07-14 06:55:11 +02:00
Detaching domain statuses
This commit is contained in:
parent
ac29ab9014
commit
3c79ca33b8
3 changed files with 31 additions and 1 deletions
|
@ -287,6 +287,9 @@ describe 'EPP Domain', epp: true do
|
|||
|
||||
response = epp_request('domains/update_remove_objects.xml')
|
||||
|
||||
expect(d.domain_statuses.count).to eq(1)
|
||||
expect(d.domain_statuses.first.value).to eq('clientUpdateProhibited')
|
||||
|
||||
rem_ns = d.nameservers.find_by(hostname: 'ns1.example.com')
|
||||
expect(rem_ns).to be_falsey
|
||||
|
||||
|
@ -302,6 +305,11 @@ describe 'EPP Domain', epp: true do
|
|||
expect(response[:results][1][:result_code]).to eq('2303')
|
||||
expect(response[:results][1][:msg]).to eq('Nameserver was not found')
|
||||
expect(response[:results][1][:value]).to eq('ns1.example.com')
|
||||
|
||||
expect(response[:results][2][:result_code]).to eq('2303')
|
||||
expect(response[:results][2][:msg]).to eq('Status was not found')
|
||||
expect(response[:results][2][:value]).to eq('clientHold')
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue