mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
Renamed should be blank to must be blank
This commit is contained in:
parent
be19176a00
commit
f937822016
4 changed files with 12 additions and 12 deletions
|
@ -492,8 +492,8 @@ en:
|
|||
sign_this_request: 'Sign this request'
|
||||
revoke_this_certificate: 'Revoke this certificate'
|
||||
crt_revoked: 'CRT (revoked)'
|
||||
contact_org_error: 'Parameter value policy error. Org should be blank'
|
||||
contact_fax_error: 'Parameter value policy error. Fax should be blank'
|
||||
contact_org_error: 'Parameter value policy error. Org must be blank'
|
||||
contact_fax_error: 'Parameter value policy error. Fax must be blank'
|
||||
invoices: 'Invoices'
|
||||
no_such_user: 'No such user'
|
||||
log_in: 'Log in'
|
||||
|
|
|
@ -547,7 +547,7 @@ RESPONSE:
|
|||
<epp schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
|
||||
<response>
|
||||
<result code="2306">
|
||||
<msg lang="en">Parameter value policy error. Org should be blank: postalInfo > org [org]</msg>
|
||||
<msg lang="en">Parameter value policy error. Org must be blank: postalInfo > org [org]</msg>
|
||||
</result>
|
||||
</response>
|
||||
<trID>
|
||||
|
@ -599,7 +599,7 @@ RESPONSE:
|
|||
<epp schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
|
||||
<response>
|
||||
<result code="2306">
|
||||
<msg lang="en">Parameter value policy error. Fax should be blank: fax [fax]</msg>
|
||||
<msg lang="en">Parameter value policy error. Fax must be blank: fax [fax]</msg>
|
||||
</result>
|
||||
</response>
|
||||
<trID>
|
||||
|
@ -1138,7 +1138,7 @@ RESPONSE:
|
|||
<epp schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
|
||||
<response>
|
||||
<result code="2306">
|
||||
<msg lang="en">Parameter value policy error. Org should be blank: postalInfo > org [org]</msg>
|
||||
<msg lang="en">Parameter value policy error. Org must be blank: postalInfo > org [org]</msg>
|
||||
</result>
|
||||
</response>
|
||||
<trID>
|
||||
|
@ -1194,7 +1194,7 @@ RESPONSE:
|
|||
<epp schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
|
||||
<response>
|
||||
<result code="2306">
|
||||
<msg lang="en">Parameter value policy error. Fax should be blank: fax [fax]</msg>
|
||||
<msg lang="en">Parameter value policy error. Fax must be blank: fax [fax]</msg>
|
||||
</result>
|
||||
</response>
|
||||
<trID>
|
||||
|
|
|
@ -16,7 +16,7 @@ Contact Mapping protocol short version:
|
|||
<contact:id> 0-1 Contact id, optional, generated automatically if missing
|
||||
<contact:postalInfo> 1 Postal information container
|
||||
<contact:name> 1 Full name of the contact
|
||||
<contact:org> 0 Org is not supported and should be blank or missing
|
||||
<contact:org> 0 Org is not supported and must be blank or missing
|
||||
<contact:addr> 1 Address container
|
||||
<contact:street> 1-n Street name
|
||||
<contact:city> 1 City name
|
||||
|
@ -50,7 +50,7 @@ Contact Mapping protocol short version:
|
|||
<contact:chg> 1 Change container
|
||||
<contact:postalInfo> 1 Postal information container
|
||||
<contact:name> 0-1 Full name of the contact
|
||||
<contact:org> 0 Org is not supported and should be blank or missing
|
||||
<contact:org> 0 Org is not supported and must be blank or missing
|
||||
<contact:addr> 0-1 Address container
|
||||
<contact:street> 0-n Street name
|
||||
<contact:city> 0-1 City name
|
||||
|
|
|
@ -172,7 +172,7 @@ describe 'EPP Contact', epp: true do
|
|||
it 'should return parameter value policy error for org' do
|
||||
response = create_request({ postalInfo: { org: { value: 'should not save' } } })
|
||||
response[:msg].should ==
|
||||
'Parameter value policy error. Org should be blank: postalInfo > org [org]'
|
||||
'Parameter value policy error. Org must be blank: postalInfo > org [org]'
|
||||
response[:result_code].should == '2306'
|
||||
|
||||
Contact.last.org_name.should == nil
|
||||
|
@ -181,7 +181,7 @@ describe 'EPP Contact', epp: true do
|
|||
it 'should return parameter value policy error for fax' do
|
||||
response = create_request({ fax: { value: 'should not save' } })
|
||||
response[:msg].should ==
|
||||
'Parameter value policy error. Fax should be blank: fax [fax]'
|
||||
'Parameter value policy error. Fax must be blank: fax [fax]'
|
||||
response[:result_code].should == '2306'
|
||||
|
||||
Contact.last.fax.should == nil
|
||||
|
@ -317,7 +317,7 @@ describe 'EPP Contact', epp: true do
|
|||
}
|
||||
})
|
||||
response[:msg].should ==
|
||||
'Parameter value policy error. Org should be blank: postalInfo > org [org]'
|
||||
'Parameter value policy error. Org must be blank: postalInfo > org [org]'
|
||||
response[:result_code].should == '2306'
|
||||
|
||||
Contact.find_by(code: 'sh8013').org_name.should == nil
|
||||
|
@ -331,7 +331,7 @@ describe 'EPP Contact', epp: true do
|
|||
}
|
||||
})
|
||||
response[:msg].should ==
|
||||
'Parameter value policy error. Fax should be blank: fax [fax]'
|
||||
'Parameter value policy error. Fax must be blank: fax [fax]'
|
||||
response[:result_code].should == '2306'
|
||||
|
||||
Contact.find_by(code: 'sh8013').fax.should == nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue