mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +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
|
@ -4,10 +4,10 @@ class EppDomainBaseTest < EppTestCase
|
|||
def test_non_existent_domain
|
||||
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>
|
||||
<info>
|
||||
<domain:info xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
|
||||
<domain:info xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}">
|
||||
<domain:name>non-existent.test</domain:name>
|
||||
</domain:info>
|
||||
</info>
|
||||
|
@ -25,7 +25,7 @@ class EppDomainBaseTest < EppTestCase
|
|||
def test_invalid_path
|
||||
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>
|
||||
<info>
|
||||
<domain:info xmlns:domain="https://afdsfs.dfdf.df">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue