mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 17:23:34 +02:00
Update server greeting, add it to examples
This commit is contained in:
parent
9713053f31
commit
aa8b0603d3
5 changed files with 736 additions and 266 deletions
|
@ -11,7 +11,7 @@
|
|||
<svcs>
|
||||
<objURI>urn:ietf:params:xml:ns:contact-1.0</objURI>
|
||||
<!-- <objURI>http://www.nic.cz/xml/epp/nsset-1.2</objURI> -->
|
||||
<!-- <objURI>http://www.nic.cz/xml/epp/domain-1.4</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>
|
||||
|
|
|
@ -8,8 +8,10 @@ describe 'EPP Session', epp: true do
|
|||
context 'when not connected' do
|
||||
it 'greets client upon connection' do
|
||||
response = Nokogiri::XML(server_gitlab.open_connection)
|
||||
expect(response.css('epp svID').text).to eq('EPP server (DSDng)')
|
||||
expect(response.css('epp svID').text).to eq('EPP server (EIS)')
|
||||
server_gitlab.close_connection
|
||||
|
||||
puts "RESPONSE:\n\n```xml\n#{response}```\n\n" if ENV['EPP_DOC']
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue