From 1d76e10b55e87a21e2adb168c7e718a4e93a5ef4 Mon Sep 17 00:00:00 2001 From: Martin Lensment Date: Tue, 2 Jun 2015 12:01:34 +0300 Subject: [PATCH] Allow auth info in contact delete command #2660 --- doc/schemas/contact-1.0.xsd | 2 +- spec/epp/contact_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/schemas/contact-1.0.xsd b/doc/schemas/contact-1.0.xsd index 3f4dc026d..96e7a0f97 100644 --- a/doc/schemas/contact-1.0.xsd +++ b/doc/schemas/contact-1.0.xsd @@ -26,7 +26,7 @@ --> - + diff --git a/spec/epp/contact_spec.rb b/spec/epp/contact_spec.rb index 4261cfd3e..eac12a698 100644 --- a/spec/epp/contact_spec.rb +++ b/spec/epp/contact_spec.rb @@ -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