mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 09:43:36 +02:00
Removed second EPP session example #2721
This commit is contained in:
parent
cd97e11f47
commit
04de96d317
1 changed files with 0 additions and 15 deletions
|
@ -133,21 +133,6 @@ describe 'EPP Session', epp: true do
|
||||||
@api_user.reload
|
@api_user.reload
|
||||||
@api_user.password.should == 'ghyt9e4fu'
|
@api_user.password.should == 'ghyt9e4fu'
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'fails if new password is not valid' do
|
|
||||||
@api_user.update(password: 'ghyt9e4fu')
|
|
||||||
response = epp_plain_request(@epp_xml.session.login(
|
|
||||||
clID: { value: 'gitlab' },
|
|
||||||
pw: { value: 'ghyt9e4fu' },
|
|
||||||
newPW: { value: '' }
|
|
||||||
), validate_input: false)
|
|
||||||
|
|
||||||
response[:msg].should == 'Password is missing [password]'
|
|
||||||
response[:result_code].should == '2306'
|
|
||||||
|
|
||||||
@api_user.reload
|
|
||||||
@api_user.password.should == 'ghyt9e4fu'
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue