Fix contact create in registrar #2752

This commit is contained in:
Martin Lensment 2015-07-24 13:13:27 +03:00
parent 4c52e3b0b4
commit e463fe4d70
3 changed files with 29 additions and 28 deletions

View file

@ -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'