mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
made support test schema domain version 1.2
This commit is contained in:
parent
ae6bad3e73
commit
4c5e4d7898
41 changed files with 967 additions and 451 deletions
|
@ -9,7 +9,7 @@ class EppPollTest < EppTestCase
|
|||
def test_return_latest_notification_when_queue_is_not_empty
|
||||
request_xml = <<-XML
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
|
||||
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee', for_version: '1.0')}">
|
||||
<command>
|
||||
<poll op="req"/>
|
||||
</command>
|
||||
|
@ -32,7 +32,7 @@ class EppPollTest < EppTestCase
|
|||
|
||||
request_xml = <<-XML
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
|
||||
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee', for_version: '1.0')}">
|
||||
<command>
|
||||
<poll op="req"/>
|
||||
</command>
|
||||
|
@ -56,7 +56,7 @@ class EppPollTest < EppTestCase
|
|||
|
||||
request_xml = <<-XML
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
|
||||
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee', for_version: '1.0')}">
|
||||
<command>
|
||||
<poll op="req"/>
|
||||
</command>
|
||||
|
@ -81,7 +81,7 @@ class EppPollTest < EppTestCase
|
|||
|
||||
request_xml = <<-XML
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
|
||||
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee', for_version: '1.0')}">
|
||||
<command>
|
||||
<poll op="req"/>
|
||||
</command>
|
||||
|
@ -98,7 +98,7 @@ class EppPollTest < EppTestCase
|
|||
|
||||
request_xml = <<-XML
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
|
||||
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee', for_version: '1.0')}">
|
||||
<command>
|
||||
<poll op="ack" msgID="#{notification.id}"/>
|
||||
</command>
|
||||
|
@ -121,7 +121,7 @@ class EppPollTest < EppTestCase
|
|||
|
||||
request_xml = <<-XML
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
|
||||
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee', for_version: '1.0')}">
|
||||
<command>
|
||||
<poll op="ack" msgID="#{notification.id}"/>
|
||||
</command>
|
||||
|
@ -138,7 +138,7 @@ class EppPollTest < EppTestCase
|
|||
def test_notification_not_found
|
||||
request_xml = <<-XML
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
|
||||
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee', for_version: '1.0')}">
|
||||
<command>
|
||||
<poll op="ack" msgID="0"/>
|
||||
</command>
|
||||
|
@ -153,7 +153,7 @@ class EppPollTest < EppTestCase
|
|||
def test_anonymous_user_cannot_access
|
||||
request_xml = <<-XML
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
|
||||
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee', for_version: '1.0')}">
|
||||
<command>
|
||||
<poll op="req"/>
|
||||
</command>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue