mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 19:48:28 +02:00
Updated contact org error
This commit is contained in:
parent
2d5787a308
commit
6ae1851868
3 changed files with 6 additions and 4 deletions
|
@ -147,7 +147,8 @@ describe 'EPP Contact', epp: true do
|
|||
|
||||
it 'should return parameter value policy errror' do
|
||||
response = create_request({ postalInfo: { org: { value: 'should not save' } } })
|
||||
response[:msg].should == 'Parameter value policy error: postalInfo > org [org]'
|
||||
response[:msg].should ==
|
||||
'Parameter value policy error. Org should be blank: postalInfo > org [org]'
|
||||
response[:result_code].should == '2306'
|
||||
|
||||
Contact.last.org_name.should == nil
|
||||
|
@ -282,7 +283,8 @@ describe 'EPP Contact', epp: true do
|
|||
postalInfo: { org: { value: 'should not save' } }
|
||||
}
|
||||
})
|
||||
response[:msg].should == 'Parameter value policy error: postalInfo > org [org]'
|
||||
response[:msg].should ==
|
||||
'Parameter value policy error. Org should be blank: postalInfo > org [org]'
|
||||
response[:result_code].should == '2306'
|
||||
|
||||
Contact.find_by(code: 'sh8013').org_name.should == nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue