mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 00:42:04 +02:00
Fix test
This commit is contained in:
parent
6725b3cadc
commit
e2809cc285
3 changed files with 5 additions and 3 deletions
|
@ -76,14 +76,15 @@ describe 'EPP Session', epp: true do
|
|||
end
|
||||
|
||||
it 'logs out epp user' do
|
||||
c = EppSession.count
|
||||
epp_plain_request(@login_xml_cache, :xml)
|
||||
|
||||
EppSession.last[:api_user_id].should == 1
|
||||
EppSession.count.should == c + 1
|
||||
response = epp_plain_request(@epp_xml.session.logout, :xml)
|
||||
response[:msg].should == 'Command completed successfully; ending session'
|
||||
response[:result_code].should == '1500'
|
||||
|
||||
EppSession.last[:api_user_id].should == nil
|
||||
EppSession.count.should == c
|
||||
end
|
||||
|
||||
it 'changes password and logs in' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue