mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 17:01:44 +02:00
Fixed session spec
This commit is contained in:
parent
bfed783106
commit
425e26cff3
1 changed files with 2 additions and 2 deletions
|
@ -77,12 +77,12 @@ describe 'EPP Session', epp: true do
|
|||
it 'logs out epp user' do
|
||||
epp_plain_request(@login_xml_cache, :xml)
|
||||
|
||||
EppSession.first[:epp_user_id].should == 1
|
||||
EppSession.last[:epp_user_id].should == 1
|
||||
response = epp_plain_request(@epp_xml.session.logout, :xml)
|
||||
response[:msg].should == 'Command completed successfully; ending session'
|
||||
response[:result_code].should == '1500'
|
||||
|
||||
EppSession.first[:epp_user_id].should == nil
|
||||
EppSession.last[:epp_user_id].should == nil
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue