mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 01:47:18 +02:00
Add test for transfer cancel #2809
This commit is contained in:
parent
7692e32b9f
commit
c527a4e55a
1 changed files with 11 additions and 0 deletions
|
@ -1622,6 +1622,17 @@ describe 'EPP Domain', epp: true do
|
|||
response[:results][0][:result_code].should == '2303'
|
||||
end
|
||||
|
||||
it 'should not cancel transfer when there are none' do
|
||||
xml = domain_transfer_xml({
|
||||
name: { value: domain.name },
|
||||
authInfo: { pw: { value: domain.auth_info } }
|
||||
}, 'cancel')
|
||||
|
||||
response = epp_plain_request(xml)
|
||||
response[:results][0][:msg].should == 'No transfers found'
|
||||
response[:results][0][:result_code].should == '2303'
|
||||
end
|
||||
|
||||
it 'should allow querying domain transfer', epp: false do
|
||||
Setting.transfer_wait_time = 1
|
||||
pw = domain.auth_info
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue