mirror of
https://github.com/internetee/registry.git
synced 2025-05-20 11:19:39 +02:00
Allow auth info in contact delete command #2660
This commit is contained in:
parent
b4bbdef67b
commit
1d76e10b55
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@
|
|||
-->
|
||||
<element name="check" type="contact:mIDType"/>
|
||||
<element name="create" type="contact:createType"/>
|
||||
<element name="delete" type="contact:sIDType"/>
|
||||
<element name="delete" type="contact:authIDType"/>
|
||||
<element name="info" type="contact:authIDType"/>
|
||||
<element name="transfer" type="contact:authIDType"/>
|
||||
<element name="update" type="contact:updateType"/>
|
||||
|
|
|
@ -753,7 +753,7 @@ describe 'EPP Contact', epp: true do
|
|||
|
||||
it 'should not delete when not owner with wrong password' do
|
||||
login_as :registrar2 do
|
||||
response = delete_request({ authInfo: { value: 'wrong password' } })
|
||||
response = delete_request({ authInfo: { pw: { value: 'wrong password' } } })
|
||||
response[:msg].should == 'Authorization error'
|
||||
response[:result_code].should == '2201'
|
||||
response[:results].count.should == 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue