mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 12:08:27 +02:00
Improve Epp Session tests
This commit is contained in:
parent
e9f23ba348
commit
5405632862
2 changed files with 5 additions and 1 deletions
|
@ -44,9 +44,13 @@ describe 'EPP Session', epp: true do
|
|||
it 'logs out epp user' do
|
||||
epp_plain_request('login.xml')
|
||||
|
||||
expect(EppSession.first[:epp_user_id]).to eq(1)
|
||||
|
||||
response = epp_plain_request('logout.xml')
|
||||
expect(response[:result_code]).to eq('1500')
|
||||
expect(response[:msg]).to eq('Command completed successfully; ending session')
|
||||
|
||||
expect(EppSession.first[:epp_user_id]).to eq(nil)
|
||||
end
|
||||
|
||||
it 'does not log in twice' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue