made support test schema domain version 1.2

This commit is contained in:
Oleg Hasjanov 2021-06-28 12:47:24 +03:00
parent ae6bad3e73
commit 4c5e4d7898
41 changed files with 967 additions and 451 deletions

View file

@ -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">