mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 19:48:28 +02:00
Bump epp-xml, improved login xml
This commit is contained in:
parent
fb93e2ba5f
commit
796b25ace8
8 changed files with 302 additions and 291 deletions
|
@ -1,23 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
|
||||
<command>
|
||||
<login>
|
||||
<clID>gitlab</clID>
|
||||
<pw>ghyt9e4fu</pw>
|
||||
<options>
|
||||
<version>1.0</version>
|
||||
<lang>en</lang>
|
||||
</options>
|
||||
<svcs>
|
||||
<objURI>urn:ietf:params:xml:ns:contact-1.0</objURI>
|
||||
<!-- <objURI>http://www.nic.cz/xml/epp/nsset-1.2</objURI> -->
|
||||
<!-- <objURI>http://F/xml/epp/domain-1.4</objURI> -->
|
||||
<!-- <objURI>http://www.nic.cz/xml/epp/keyset-1.3</objURI> -->
|
||||
<!-- <svcExtension>
|
||||
<extURI>http://www.nic.cz/xml/epp/enumval-1.2</extURI>
|
||||
</svcExtension> -->
|
||||
</svcs>
|
||||
</login>
|
||||
<clTRID>wgyn001#10-02-08at13:58:06</clTRID>
|
||||
</command>
|
||||
</epp>
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
|
||||
<command>
|
||||
<logout/>
|
||||
<clTRID>ABC-12345</clTRID>
|
||||
</command>
|
||||
</epp>
|
|
@ -52,8 +52,7 @@ describe 'EPP Session', epp: true do
|
|||
epp_plain_request(login_xml_cache, :xml)
|
||||
|
||||
expect(EppSession.first[:epp_user_id]).to eq(1)
|
||||
|
||||
response = epp_plain_request('logout.xml')
|
||||
response = epp_plain_request(epp_xml.session.logout, :xml)
|
||||
expect(response[:result_code]).to eq('1500')
|
||||
expect(response[:msg]).to eq('Command completed successfully; ending session')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue