mirror of
https://github.com/internetee/registry.git
synced 2025-05-21 03:39:40 +02:00
Fix contact create in registrar #2752
This commit is contained in:
parent
4c52e3b0b4
commit
e463fe4d70
3 changed files with 29 additions and 28 deletions
|
@ -142,8 +142,8 @@ describe 'EPP Session', epp: true do
|
|||
newPW: { value: '' }
|
||||
), validate_input: false)
|
||||
|
||||
response[:msg].should == 'Password is missing [password]'
|
||||
response[:result_code].should == '2306'
|
||||
response[:msg].should == "Element '{urn:ietf:params:xml:ns:epp-1.0}newPW': [facet 'minLength'] The value has a length of '0'; this underruns the allowed minimum length of '6'."
|
||||
response[:result_code].should == '2001'
|
||||
|
||||
@api_user.reload
|
||||
@api_user.password.should == 'ghyt9e4fu'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue