mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Contact renew command returns appropriate error
This commit is contained in:
parent
57b5008872
commit
bb6b0610be
4 changed files with 30 additions and 0 deletions
|
@ -236,5 +236,14 @@ describe 'EPP Contact', epp: true do
|
|||
expect(response[:msg]).to eq('Authorization error')
|
||||
end
|
||||
end
|
||||
|
||||
context 'renew command' do
|
||||
it 'returns 2101-unimplemented command' do
|
||||
response = epp_request('contacts/renew.xml')
|
||||
|
||||
expect(response[:result_code]).to eq('2101')
|
||||
expect(response[:msg]).to eq('Unimplemented command')
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue