mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
Fix contact tests #2660
This commit is contained in:
parent
af2e9c2d9e
commit
61adfbfaae
1 changed files with 2 additions and 1 deletions
|
@ -44,6 +44,7 @@ describe 'EPP Contact', epp: true do
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
voice: { value: '+372.1234567' },
|
voice: { value: '+372.1234567' },
|
||||||
|
fax: nil,
|
||||||
email: { value: 'test@example.example' }
|
email: { value: 'test@example.example' }
|
||||||
}
|
}
|
||||||
create_xml = @epp_xml.create(defaults.deep_merge(overwrites), extension)
|
create_xml = @epp_xml.create(defaults.deep_merge(overwrites), extension)
|
||||||
|
@ -280,7 +281,7 @@ describe 'EPP Contact', epp: true do
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'fails if request is invalid' do
|
it 'fails if request is invalid' do
|
||||||
response = epp_plain_request(@epp_xml.update, :xml)
|
response = epp_plain_request(@epp_xml.update, validate_input: false)
|
||||||
|
|
||||||
response[:results][0][:msg].should ==
|
response[:results][0][:msg].should ==
|
||||||
'Required parameter missing: add, rem or chg'
|
'Required parameter missing: add, rem or chg'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue