updated prefixes

This commit is contained in:
Oleg Hasjanov 2021-06-04 17:07:56 +03:00
parent 177ddf0a72
commit 9e8f760fc4
28 changed files with 146 additions and 146 deletions

View file

@ -5,7 +5,7 @@ xml.epp_head do
end end
xml.resData do xml.resData do
xml.tag!('domain:chkData', 'xmlns:domain' => Xsd::Schema.filename(for_prefix: 'domain-eis')) do xml.tag!('domain:chkData', 'xmlns:domain' => Xsd::Schema.filename(for_prefix: 'domain-ee')) do
@domains.each do |x| @domains.each do |x|
xml.tag!('domain:cd') do xml.tag!('domain:cd') do
xml.tag!('domain:name', x[:name], 'avail' => x[:avail]) xml.tag!('domain:name', x[:name], 'avail' => x[:avail])

View file

@ -5,7 +5,7 @@ xml.epp_head do
end end
xml.resData do xml.resData do
xml.tag!('domain:creData', 'xmlns:domain' => Xsd::Schema.filename(for_prefix: 'domain-eis')) do xml.tag!('domain:creData', 'xmlns:domain' => Xsd::Schema.filename(for_prefix: 'domain-ee')) do
xml.tag!('domain:name', @domain.name) xml.tag!('domain:name', @domain.name)
xml.tag!('domain:crDate', @domain.created_at.try(:iso8601)) xml.tag!('domain:crDate', @domain.created_at.try(:iso8601))
xml.tag!('domain:exDate', @domain.valid_to.iso8601) xml.tag!('domain:exDate', @domain.valid_to.iso8601)

View file

@ -5,7 +5,7 @@ xml.epp_head do
end end
xml.resData do xml.resData do
xml.tag! 'domain:infData', 'xmlns:domain' => Xsd::Schema.filename(for_prefix: 'domain-eis') do xml.tag! 'domain:infData', 'xmlns:domain' => Xsd::Schema.filename(for_prefix: 'domain-ee') do
xml.tag!('domain:name', @domain.name) xml.tag!('domain:name', @domain.name)
xml.tag!('domain:roid', @domain.roid) xml.tag!('domain:roid', @domain.roid)
@domain.statuses.each do |s| @domain.statuses.each do |s|

View file

@ -1,4 +1,4 @@
builder.tag!('domain:trnData', 'xmlns:domain' => Xsd::Schema.filename(for_prefix: 'domain-eis')) do builder.tag!('domain:trnData', 'xmlns:domain' => Xsd::Schema.filename(for_prefix: 'domain-ee')) do
builder.tag!('domain:name', dt.domain_name) builder.tag!('domain:name', dt.domain_name)
builder.tag!('domain:trStatus', dt.status) builder.tag!('domain:trStatus', dt.status)
builder.tag!('domain:reID', dt.new_registrar.code) builder.tag!('domain:reID', dt.new_registrar.code)

View file

@ -5,7 +5,7 @@ xml.epp_head do
end end
xml.resData do xml.resData do
xml.tag!('domain:renData', 'xmlns:domain' => Xsd::Schema.filename(for_prefix: 'domain-eis')) do xml.tag!('domain:renData', 'xmlns:domain' => Xsd::Schema.filename(for_prefix: 'domain-ee')) do
xml.tag!('domain:name', @domain[:name]) xml.tag!('domain:name', @domain[:name])
xml.tag!('domain:exDate', @domain.valid_to.iso8601) xml.tag!('domain:exDate', @domain.valid_to.iso8601)
end end

View file

@ -5,7 +5,7 @@ xml.epp_head do
xml.svcMenu do xml.svcMenu do
xml.version '1.0' xml.version '1.0'
xml.lang 'en' xml.lang 'en'
xml.objURI Xsd::Schema.filename(for_prefix: 'domain-eis') xml.objURI Xsd::Schema.filename(for_prefix: 'domain-ee')
xml.objURI Xsd::Schema.filename(for_prefix: 'contact-ee') xml.objURI Xsd::Schema.filename(for_prefix: 'contact-ee')
xml.objURI 'urn:ietf:params:xml:ns:host-1.0' xml.objURI 'urn:ietf:params:xml:ns:host-1.0'
xml.svcExtension do xml.svcExtension do

View file

@ -3,7 +3,7 @@
<command> <command>
<check> <check>
<domain:check <domain:check
xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>example.ee</domain:name> <domain:name>example.ee</domain:name>
</domain:check> </domain:check>
</check> </check>

View file

@ -3,7 +3,7 @@
<command> <command>
<update> <update>
<domain:update <domain:update
xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>example.ee</domain:name> <domain:name>example.ee</domain:name>
<domain:rem> <domain:rem>
<domain:status s="clientHold"/> <domain:status s="clientHold"/>

View file

@ -3,7 +3,7 @@
<command> <command>
<create> <create>
<domain:create <domain:create
xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>example.ee</domain:name> <domain:name>example.ee</domain:name>
<domain:period unit="y">1</domain:period> <domain:period unit="y">1</domain:period>
<domain:ns> <domain:ns>

View file

@ -3,12 +3,12 @@
<command> <command>
<delete> <delete>
<domain:delete <domain:delete
xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>example.ee</domain:name> <domain:name>example.ee</domain:name>
</domain:delete> </domain:delete>
</delete> </delete>
<extension> <extension>
<eis:extdata xmlns:eis="#{Xsd::Schema.filename(for_prefix: 'eis')}"> <eis:extdata xmlns:eis="#{Xsd::Schema.filename(for_prefix: 'ee')}">
<eis:legalDocument type="pdf"> <eis:legalDocument type="pdf">
dGVzdCBmYWlsCg== dGVzdCBmYWlsCg==
</eis:legalDocument> </eis:legalDocument>

View file

@ -3,7 +3,7 @@
<command> <command>
<info> <info>
<domain:info <domain:info
xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name hosts="all">example.ee</domain:name> <domain:name hosts="all">example.ee</domain:name>
<domain:authInfo> <domain:authInfo>
<domain:pw>2fooBAR</domain:pw> <domain:pw>2fooBAR</domain:pw>

View file

@ -3,7 +3,7 @@
<command> <command>
<renew> <renew>
<domain:renew <domain:renew
xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>example.ee</domain:name> <domain:name>example.ee</domain:name>
<domain:curExpDate>2014-08-07</domain:curExpDate> <domain:curExpDate>2014-08-07</domain:curExpDate>
<domain:period unit="y">1</domain:period> <domain:period unit="y">1</domain:period>

View file

@ -3,7 +3,7 @@
<command> <command>
<transfer op="request"> <transfer op="request">
<domain:transfer <domain:transfer
xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>example.ee</domain:name> <domain:name>example.ee</domain:name>
<domain:authInfo> <domain:authInfo>
<domain:pw roid="JD1234-REP">2BARfoo</domain:pw> <domain:pw roid="JD1234-REP">2BARfoo</domain:pw>
@ -11,7 +11,7 @@
</domain:transfer> </domain:transfer>
</transfer> </transfer>
<extension> <extension>
<eis:extdata xmlns:eis="#{Xsd::Schema.filename(for_prefix: 'eis')}"> <eis:extdata xmlns:eis="#{Xsd::Schema.filename(for_prefix: 'ee')}">
<eis:legalDocument type="pdf"> <eis:legalDocument type="pdf">
dGVzdCBmYWlsCg== dGVzdCBmYWlsCg==
</eis:legalDocument> </eis:legalDocument>

View file

@ -3,7 +3,7 @@
<command> <command>
<update> <update>
<domain:update <domain:update
xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>example.ee</domain:name> <domain:name>example.ee</domain:name>
<domain:add> <domain:add>
<domain:ns> <domain:ns>

View file

@ -18,7 +18,7 @@ class AdminAreaBlockedDomainsIntegrationTest < JavaScriptApplicationSystemTestCa
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<update> <update>
<domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{@domain.name}</domain:name> <domain:name>#{@domain.name}</domain:name>
<domain:chg> <domain:chg>
<domain:registrant>#{new_registrant.code}</domain:registrant> <domain:registrant>#{new_registrant.code}</domain:registrant>
@ -53,7 +53,7 @@ class AdminAreaBlockedDomainsIntegrationTest < JavaScriptApplicationSystemTestCa
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<update> <update>
<domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{@domain.name}</domain:name> <domain:name>#{@domain.name}</domain:name>
<domain:chg> <domain:chg>
<domain:registrant>#{new_registrant.code}</domain:registrant> <domain:registrant>#{new_registrant.code}</domain:registrant>

View file

@ -72,7 +72,7 @@ class EppBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<info> <info>
<domain:info xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:info xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{domains(:shop).name}</domain:name> <domain:name>#{domains(:shop).name}</domain:name>
</domain:info> </domain:info>
</info> </info>
@ -96,7 +96,7 @@ class EppBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<info> <info>
<domain:info xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:info xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{domains(:shop).name}</domain:name> <domain:name>#{domains(:shop).name}</domain:name>
</domain:info> </domain:info>
</info> </info>
@ -122,7 +122,7 @@ class EppBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<info> <info>
<domain:info xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:info xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{domains(:shop).name}</domain:name> <domain:name>#{domains(:shop).name}</domain:name>
</domain:info> </domain:info>
</info> </info>
@ -149,7 +149,7 @@ class EppBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<info> <info>
<domain:info xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:info xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{domains(:shop).name}</domain:name> <domain:name>#{domains(:shop).name}</domain:name>
</domain:info> </domain:info>
</info> </info>

View file

@ -7,7 +7,7 @@ class EppDomainBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<info> <info>
<domain:info xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:info xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>non-existent.test</domain:name> <domain:name>non-existent.test</domain:name>
</domain:info> </domain:info>
</info> </info>

View file

@ -20,7 +20,7 @@ class EppDomainCheckAuctionTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<check> <check>
<domain:check xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:check xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>auction.test</domain:name> <domain:name>auction.test</domain:name>
</domain:check> </domain:check>
</check> </check>
@ -33,8 +33,8 @@ class EppDomainCheckAuctionTest < EppTestCase
response_xml = Nokogiri::XML(response.body) response_xml = Nokogiri::XML(response.body)
assert_epp_response :completed_successfully assert_epp_response :completed_successfully
assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}")['avail'] assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}")['avail']
assert_equal 'Domain is at auction', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}").text assert_equal 'Domain is at auction', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}").text
end end
def test_idn_ascii_domain_is_unavailable_when_at_auction def test_idn_ascii_domain_is_unavailable_when_at_auction
@ -45,7 +45,7 @@ class EppDomainCheckAuctionTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<check> <check>
<domain:check xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:check xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>xn--pramiid-n2a.test</domain:name> <domain:name>xn--pramiid-n2a.test</domain:name>
</domain:check> </domain:check>
</check> </check>
@ -58,8 +58,8 @@ class EppDomainCheckAuctionTest < EppTestCase
response_xml = Nokogiri::XML(response.body) response_xml = Nokogiri::XML(response.body)
assert_epp_response :completed_successfully assert_epp_response :completed_successfully
assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}")['avail'] assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}")['avail']
assert_equal 'Domain is at auction', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}").text assert_equal 'Domain is at auction', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}").text
end end
def test_idn_unicode_domain_is_unavailable_when_at_auction def test_idn_unicode_domain_is_unavailable_when_at_auction
@ -70,7 +70,7 @@ class EppDomainCheckAuctionTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<check> <check>
<domain:check xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:check xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>püramiid.test</domain:name> <domain:name>püramiid.test</domain:name>
</domain:check> </domain:check>
</check> </check>
@ -83,8 +83,8 @@ class EppDomainCheckAuctionTest < EppTestCase
response_xml = Nokogiri::XML(response.body) response_xml = Nokogiri::XML(response.body)
assert_epp_response :completed_successfully assert_epp_response :completed_successfully
assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}")['avail'] assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}")['avail']
assert_equal 'Domain is at auction', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}").text assert_equal 'Domain is at auction', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}").text
end end
def test_domain_is_unavailable_when_awaiting_payment def test_domain_is_unavailable_when_awaiting_payment
@ -95,7 +95,7 @@ class EppDomainCheckAuctionTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<check> <check>
<domain:check xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:check xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>auction.test</domain:name> <domain:name>auction.test</domain:name>
</domain:check> </domain:check>
</check> </check>
@ -108,8 +108,8 @@ class EppDomainCheckAuctionTest < EppTestCase
response_xml = Nokogiri::XML(response.body) response_xml = Nokogiri::XML(response.body)
assert_epp_response :completed_successfully assert_epp_response :completed_successfully
assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}")['avail'] assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}")['avail']
assert_equal 'Awaiting payment', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}").text assert_equal 'Awaiting payment', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}").text
end end
def test_domain_is_available_when_payment_received def test_domain_is_available_when_payment_received
@ -120,7 +120,7 @@ class EppDomainCheckAuctionTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<check> <check>
<domain:check xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:check xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>auction.test</domain:name> <domain:name>auction.test</domain:name>
</domain:check> </domain:check>
</check> </check>
@ -133,7 +133,7 @@ class EppDomainCheckAuctionTest < EppTestCase
response_xml = Nokogiri::XML(response.body) response_xml = Nokogiri::XML(response.body)
assert_epp_response :completed_successfully assert_epp_response :completed_successfully
assert_equal '1', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}")['avail'] assert_equal '1', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}")['avail']
assert_nil response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}") assert_nil response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}")
end end
end end

View file

@ -7,7 +7,7 @@ class EppDomainCheckBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<check> <check>
<domain:check xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:check xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>some.test</domain:name> <domain:name>some.test</domain:name>
</domain:check> </domain:check>
</check> </check>
@ -20,7 +20,7 @@ class EppDomainCheckBaseTest < EppTestCase
response_xml = Nokogiri::XML(response.body) response_xml = Nokogiri::XML(response.body)
assert_epp_response :completed_successfully assert_epp_response :completed_successfully
assert_equal 'some.test', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}").text assert_equal 'some.test', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}").text
end end
def test_domain_is_available_when_not_registered_or_blocked def test_domain_is_available_when_not_registered_or_blocked
@ -29,7 +29,7 @@ class EppDomainCheckBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<check> <check>
<domain:check xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:check xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>available.test</domain:name> <domain:name>available.test</domain:name>
</domain:check> </domain:check>
</check> </check>
@ -41,8 +41,8 @@ class EppDomainCheckBaseTest < EppTestCase
headers: { 'HTTP_COOKIE' => 'session=api_bestnames' } headers: { 'HTTP_COOKIE' => 'session=api_bestnames' }
response_xml = Nokogiri::XML(response.body) response_xml = Nokogiri::XML(response.body)
assert_equal '1', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}")['avail'] assert_equal '1', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}")['avail']
assert_nil response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}") assert_nil response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}")
end end
def test_domain_is_available_when_reserved def test_domain_is_available_when_reserved
@ -53,7 +53,7 @@ class EppDomainCheckBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<check> <check>
<domain:check xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:check xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>reserved.test</domain:name> <domain:name>reserved.test</domain:name>
</domain:check> </domain:check>
</check> </check>
@ -65,8 +65,8 @@ class EppDomainCheckBaseTest < EppTestCase
headers: { 'HTTP_COOKIE' => 'session=api_bestnames' } headers: { 'HTTP_COOKIE' => 'session=api_bestnames' }
response_xml = Nokogiri::XML(response.body) response_xml = Nokogiri::XML(response.body)
assert_equal '1', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}")['avail'] assert_equal '1', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}")['avail']
assert_nil response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}") assert_nil response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}")
end end
def test_domain_is_unavailable_when_format_is_invalid def test_domain_is_unavailable_when_format_is_invalid
@ -75,7 +75,7 @@ class EppDomainCheckBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<check> <check>
<domain:check xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:check xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>invalid</domain:name> <domain:name>invalid</domain:name>
</domain:check> </domain:check>
</check> </check>
@ -87,8 +87,8 @@ class EppDomainCheckBaseTest < EppTestCase
headers: { 'HTTP_COOKIE' => 'session=api_bestnames' } headers: { 'HTTP_COOKIE' => 'session=api_bestnames' }
response_xml = Nokogiri::XML(response.body) response_xml = Nokogiri::XML(response.body)
assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}")['avail'] assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}")['avail']
assert_equal 'invalid format', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}").text assert_equal 'invalid format', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}").text
end end
def test_domain_is_unavailable_when_registered def test_domain_is_unavailable_when_registered
@ -99,7 +99,7 @@ class EppDomainCheckBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<check> <check>
<domain:check xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:check xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>shop.test</domain:name> <domain:name>shop.test</domain:name>
</domain:check> </domain:check>
</check> </check>
@ -111,8 +111,8 @@ class EppDomainCheckBaseTest < EppTestCase
headers: { 'HTTP_COOKIE' => 'session=api_bestnames' } headers: { 'HTTP_COOKIE' => 'session=api_bestnames' }
response_xml = Nokogiri::XML(response.body) response_xml = Nokogiri::XML(response.body)
assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}")['avail'] assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}")['avail']
assert_equal 'in use', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}").text assert_equal 'in use', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}").text
end end
def test_domain_is_unavailable_when_blocked def test_domain_is_unavailable_when_blocked
@ -123,7 +123,7 @@ class EppDomainCheckBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<check> <check>
<domain:check xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:check xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>blocked.test</domain:name> <domain:name>blocked.test</domain:name>
</domain:check> </domain:check>
</check> </check>
@ -135,8 +135,8 @@ class EppDomainCheckBaseTest < EppTestCase
headers: { 'HTTP_COOKIE' => 'session=api_bestnames' } headers: { 'HTTP_COOKIE' => 'session=api_bestnames' }
response_xml = Nokogiri::XML(response.body) response_xml = Nokogiri::XML(response.body)
assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}")['avail'] assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}")['avail']
assert_equal 'Blocked', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}").text assert_equal 'Blocked', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}").text
end end
def test_domain_is_unavailable_when_zone_with_the_same_origin_exists def test_domain_is_unavailable_when_zone_with_the_same_origin_exists
@ -147,7 +147,7 @@ class EppDomainCheckBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<check> <check>
<domain:check xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:check xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>test</domain:name> <domain:name>test</domain:name>
</domain:check> </domain:check>
</check> </check>
@ -159,8 +159,8 @@ class EppDomainCheckBaseTest < EppTestCase
headers: { 'HTTP_COOKIE' => 'session=api_bestnames' } headers: { 'HTTP_COOKIE' => 'session=api_bestnames' }
response_xml = Nokogiri::XML(response.body) response_xml = Nokogiri::XML(response.body)
assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}")['avail'] assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}")['avail']
assert_equal 'Zone with the same origin exists', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}").text assert_equal 'Zone with the same origin exists', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}").text
end end
def test_multiple_domains def test_multiple_domains
@ -169,7 +169,7 @@ class EppDomainCheckBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<check> <check>
<domain:check xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:check xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>one.test</domain:name> <domain:name>one.test</domain:name>
<domain:name>two.test</domain:name> <domain:name>two.test</domain:name>
<domain:name>three.test</domain:name> <domain:name>three.test</domain:name>
@ -183,6 +183,6 @@ class EppDomainCheckBaseTest < EppTestCase
headers: { 'HTTP_COOKIE' => 'session=api_bestnames' } headers: { 'HTTP_COOKIE' => 'session=api_bestnames' }
response_xml = Nokogiri::XML(response.body) response_xml = Nokogiri::XML(response.body)
assert_equal 3, response_xml.xpath('//domain:cd', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}").size assert_equal 3, response_xml.xpath('//domain:cd', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}").size
end end
end end

View file

@ -24,7 +24,7 @@ class EppDomainCreateAuctionIdnTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>xn--pramiid-n2a.test</domain:name> <domain:name>xn--pramiid-n2a.test</domain:name>
<domain:registrant>#{contacts(:john).code}</domain:registrant> <domain:registrant>#{contacts(:john).code}</domain:registrant>
</domain:create> </domain:create>
@ -59,7 +59,7 @@ class EppDomainCreateAuctionIdnTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>püramiid.test</domain:name> <domain:name>püramiid.test</domain:name>
<domain:registrant>#{contacts(:john).code}</domain:registrant> <domain:registrant>#{contacts(:john).code}</domain:registrant>
</domain:create> </domain:create>
@ -93,7 +93,7 @@ class EppDomainCreateAuctionIdnTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>xn--pramiid-n2a.test</domain:name> <domain:name>xn--pramiid-n2a.test</domain:name>
<domain:registrant>#{contacts(:john).code}</domain:registrant> <domain:registrant>#{contacts(:john).code}</domain:registrant>
</domain:create> </domain:create>
@ -127,7 +127,7 @@ class EppDomainCreateAuctionIdnTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>püramiid.test</domain:name> <domain:name>püramiid.test</domain:name>
<domain:registrant>#{contacts(:john).code}</domain:registrant> <domain:registrant>#{contacts(:john).code}</domain:registrant>
</domain:create> </domain:create>
@ -162,7 +162,7 @@ class EppDomainCreateAuctionIdnTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>püramiid.test</domain:name> <domain:name>püramiid.test</domain:name>
<domain:registrant>#{contacts(:john).code}</domain:registrant> <domain:registrant>#{contacts(:john).code}</domain:registrant>
</domain:create> </domain:create>
@ -199,7 +199,7 @@ class EppDomainCreateAuctionIdnTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>xn--pramiid-n2a.test</domain:name> <domain:name>xn--pramiid-n2a.test</domain:name>
<domain:registrant>#{contacts(:john).code}</domain:registrant> <domain:registrant>#{contacts(:john).code}</domain:registrant>
</domain:create> </domain:create>

View file

@ -16,7 +16,7 @@ class EppDomainCreateAuctionTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>not-at-auction.test</domain:name> <domain:name>not-at-auction.test</domain:name>
<domain:registrant>#{contacts(:john).code}</domain:registrant> <domain:registrant>#{contacts(:john).code}</domain:registrant>
</domain:create> </domain:create>
@ -51,7 +51,7 @@ class EppDomainCreateAuctionTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>auction.test</domain:name> <domain:name>auction.test</domain:name>
<domain:registrant>#{contacts(:john).code}</domain:registrant> <domain:registrant>#{contacts(:john).code}</domain:registrant>
</domain:create> </domain:create>
@ -84,7 +84,7 @@ class EppDomainCreateAuctionTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>auction.test</domain:name> <domain:name>auction.test</domain:name>
<domain:registrant>#{contacts(:john).code}</domain:registrant> <domain:registrant>#{contacts(:john).code}</domain:registrant>
</domain:create> </domain:create>
@ -120,7 +120,7 @@ class EppDomainCreateAuctionTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>auction.test</domain:name> <domain:name>auction.test</domain:name>
<domain:registrant>#{contacts(:john).code}</domain:registrant> <domain:registrant>#{contacts(:john).code}</domain:registrant>
</domain:create> </domain:create>
@ -150,7 +150,7 @@ class EppDomainCreateAuctionTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>auction.test</domain:name> <domain:name>auction.test</domain:name>
<domain:registrant>#{contacts(:john).code}</domain:registrant> <domain:registrant>#{contacts(:john).code}</domain:registrant>
</domain:create> </domain:create>
@ -182,7 +182,7 @@ class EppDomainCreateAuctionTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>auction.test</domain:name> <domain:name>auction.test</domain:name>
<domain:registrant>#{contacts(:john).code}</domain:registrant> <domain:registrant>#{contacts(:john).code}</domain:registrant>
</domain:create> </domain:create>
@ -214,7 +214,7 @@ class EppDomainCreateAuctionTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>auction.test</domain:name> <domain:name>auction.test</domain:name>
</domain:create> </domain:create>
</create> </create>

View file

@ -17,7 +17,7 @@ class EppDomainCreateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{name}</domain:name> <domain:name>#{name}</domain:name>
<domain:registrant>#{registrant.code}</domain:registrant> <domain:registrant>#{registrant.code}</domain:registrant>
</domain:create> </domain:create>
@ -56,7 +56,7 @@ class EppDomainCreateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{name}</domain:name> <domain:name>#{name}</domain:name>
<domain:registrant>#{registrant.code}</domain:registrant> <domain:registrant>#{registrant.code}</domain:registrant>
</domain:create> </domain:create>
@ -89,7 +89,7 @@ class EppDomainCreateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{name}</domain:name> <domain:name>#{name}</domain:name>
<domain:registrant>#{registrant.code}</domain:registrant> <domain:registrant>#{registrant.code}</domain:registrant>
</domain:create> </domain:create>
@ -125,7 +125,7 @@ class EppDomainCreateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{name}</domain:name> <domain:name>#{name}</domain:name>
<domain:registrant>#{registrant.code}</domain:registrant> <domain:registrant>#{registrant.code}</domain:registrant>
</domain:create> </domain:create>
@ -161,7 +161,7 @@ class EppDomainCreateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{name}</domain:name> <domain:name>#{name}</domain:name>
<domain:registrant>#{registrant.code}</domain:registrant> <domain:registrant>#{registrant.code}</domain:registrant>
</domain:create> </domain:create>
@ -190,7 +190,7 @@ class EppDomainCreateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{name}</domain:name> <domain:name>#{name}</domain:name>
<domain:registrant>#{registrant.code}</domain:registrant> <domain:registrant>#{registrant.code}</domain:registrant>
<domain:contact type="admin">#{contacts(:jane).code}</domain:contact> <domain:contact type="admin">#{contacts(:jane).code}</domain:contact>
@ -226,7 +226,7 @@ class EppDomainCreateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{name}</domain:name> <domain:name>#{name}</domain:name>
<domain:registrant>#{registrant.code}</domain:registrant> <domain:registrant>#{registrant.code}</domain:registrant>
<domain:contact type="admin">#{contact.code}</domain:contact> <domain:contact type="admin">#{contact.code}</domain:contact>
@ -264,7 +264,7 @@ class EppDomainCreateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{name}</domain:name> <domain:name>#{name}</domain:name>
<domain:registrant>#{registrant.code}</domain:registrant> <domain:registrant>#{registrant.code}</domain:registrant>
<domain:contact type="admin">#{contact.code}</domain:contact> <domain:contact type="admin">#{contact.code}</domain:contact>
@ -301,7 +301,7 @@ class EppDomainCreateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{name}</domain:name> <domain:name>#{name}</domain:name>
<domain:registrant>#{registrant.code}</domain:registrant> <domain:registrant>#{registrant.code}</domain:registrant>
<domain:contact type="admin">#{contact.code}</domain:contact> <domain:contact type="admin">#{contact.code}</domain:contact>
@ -339,7 +339,7 @@ class EppDomainCreateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{name}</domain:name> <domain:name>#{name}</domain:name>
<domain:registrant>#{registrant.code}</domain:registrant> <domain:registrant>#{registrant.code}</domain:registrant>
<domain:contact type="admin">#{contact.code}</domain:contact> <domain:contact type="admin">#{contact.code}</domain:contact>
@ -377,7 +377,7 @@ class EppDomainCreateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{name}</domain:name> <domain:name>#{name}</domain:name>
<domain:registrant>#{registrant.code}</domain:registrant> <domain:registrant>#{registrant.code}</domain:registrant>
<domain:contact type="admin">#{contact_two.code}</domain:contact> <domain:contact type="admin">#{contact_two.code}</domain:contact>
@ -414,7 +414,7 @@ class EppDomainCreateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{name}</domain:name> <domain:name>#{name}</domain:name>
<domain:registrant>#{registrant.code}</domain:registrant> <domain:registrant>#{registrant.code}</domain:registrant>
</domain:create> </domain:create>
@ -462,7 +462,7 @@ class EppDomainCreateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{name}</domain:name> <domain:name>#{name}</domain:name>
<domain:registrant>#{registrant.code}</domain:registrant> <domain:registrant>#{registrant.code}</domain:registrant>
</domain:create> </domain:create>
@ -498,7 +498,7 @@ class EppDomainCreateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{name}</domain:name> <domain:name>#{name}</domain:name>
<domain:registrant>#{registrant.code}</domain:registrant> <domain:registrant>#{registrant.code}</domain:registrant>
</domain:create> </domain:create>
@ -532,7 +532,7 @@ class EppDomainCreateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{reserved_domain.name}</domain:name> <domain:name>#{reserved_domain.name}</domain:name>
<domain:registrant>#{contacts(:john).code}</domain:registrant> <domain:registrant>#{contacts(:john).code}</domain:registrant>
</domain:create> </domain:create>
@ -568,7 +568,7 @@ class EppDomainCreateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{name}</domain:name> <domain:name>#{name}</domain:name>
<domain:registrant>#{contacts(:john).code}</domain:registrant> <domain:registrant>#{contacts(:john).code}</domain:registrant>
<domain:authInfo> <domain:authInfo>
@ -601,7 +601,7 @@ class EppDomainCreateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{blocked_domain}</domain:name> <domain:name>#{blocked_domain}</domain:name>
<domain:registrant>#{contacts(:john).code}</domain:registrant> <domain:registrant>#{contacts(:john).code}</domain:registrant>
</domain:create> </domain:create>
@ -631,7 +631,7 @@ class EppDomainCreateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{SimpleIDN.to_ascii('blockedäöüõ.test')}</domain:name> <domain:name>#{SimpleIDN.to_ascii('blockedäöüõ.test')}</domain:name>
<domain:registrant>#{contacts(:john).code}</domain:registrant> <domain:registrant>#{contacts(:john).code}</domain:registrant>
</domain:create> </domain:create>
@ -658,7 +658,7 @@ class EppDomainCreateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{reserved_domains(:one).name}</domain:name> <domain:name>#{reserved_domains(:one).name}</domain:name>
<domain:registrant>#{contacts(:john).code}</domain:registrant> <domain:registrant>#{contacts(:john).code}</domain:registrant>
</domain:create> </domain:create>
@ -690,7 +690,7 @@ class EppDomainCreateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{reserved_domain.name}</domain:name> <domain:name>#{reserved_domain.name}</domain:name>
<domain:registrant>#{contacts(:john).code}</domain:registrant> <domain:registrant>#{contacts(:john).code}</domain:registrant>
</domain:create> </domain:create>
@ -720,7 +720,7 @@ class EppDomainCreateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>new.test</domain:name> <domain:name>new.test</domain:name>
<domain:registrant>#{contacts(:john).code}</domain:registrant> <domain:registrant>#{contacts(:john).code}</domain:registrant>
</domain:create> </domain:create>
@ -748,7 +748,7 @@ class EppDomainCreateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<create> <create>
<domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:create xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>new.test</domain:name> <domain:name>new.test</domain:name>
<domain:period unit="m">2</domain:period> <domain:period unit="m">2</domain:period>
<domain:registrant>john-001</domain:registrant> <domain:registrant>john-001</domain:registrant>

View file

@ -21,7 +21,7 @@ class EppDomainDeleteBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<delete> <delete>
<domain:delete xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:delete xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>invalid.test</domain:name> <domain:name>invalid.test</domain:name>
</domain:delete> </domain:delete>
</delete> </delete>
@ -48,7 +48,7 @@ class EppDomainDeleteBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<delete> <delete>
<domain:delete xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:delete xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>shop.test</domain:name> <domain:name>shop.test</domain:name>
</domain:delete> </domain:delete>
</delete> </delete>
@ -76,7 +76,7 @@ class EppDomainDeleteBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<delete> <delete>
<domain:delete xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:delete xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>shop.test</domain:name> <domain:name>shop.test</domain:name>
</domain:delete> </domain:delete>
</delete> </delete>
@ -110,7 +110,7 @@ class EppDomainDeleteBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<delete> <delete>
<domain:delete xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:delete xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>shop.test</domain:name> <domain:name>shop.test</domain:name>
</domain:delete> </domain:delete>
</delete> </delete>
@ -144,7 +144,7 @@ class EppDomainDeleteBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<delete> <delete>
<domain:delete xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:delete xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>shop.test</domain:name> <domain:name>shop.test</domain:name>
</domain:delete> </domain:delete>
</delete> </delete>
@ -177,7 +177,7 @@ class EppDomainDeleteBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<delete> <delete>
<domain:delete verified="yes" xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:delete verified="yes" xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>shop.test</domain:name> <domain:name>shop.test</domain:name>
</domain:delete> </domain:delete>
</delete> </delete>
@ -210,7 +210,7 @@ class EppDomainDeleteBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<delete> <delete>
<domain:delete xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:delete xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>shop.test</domain:name> <domain:name>shop.test</domain:name>
</domain:delete> </domain:delete>
</delete> </delete>
@ -232,7 +232,7 @@ class EppDomainDeleteBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<delete> <delete>
<domain:delete xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:delete xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>shop.test</domain:name> <domain:name>shop.test</domain:name>
</domain:delete> </domain:delete>
</delete> </delete>

View file

@ -14,7 +14,7 @@ class EppDomainRenewBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<renew> <renew>
<domain:renew xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:renew xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{domain.name}</domain:name> <domain:name>#{domain.name}</domain:name>
<domain:curExpDate>#{domain.expire_time.to_date}</domain:curExpDate> <domain:curExpDate>#{domain.expire_time.to_date}</domain:curExpDate>
<domain:period unit="y">1</domain:period> <domain:period unit="y">1</domain:period>
@ -45,7 +45,7 @@ class EppDomainRenewBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<renew> <renew>
<domain:renew xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:renew xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{domain.name}</domain:name> <domain:name>#{domain.name}</domain:name>
<domain:curExpDate>#{domain.expire_time.to_date}</domain:curExpDate> <domain:curExpDate>#{domain.expire_time.to_date}</domain:curExpDate>
<domain:period unit="y">1</domain:period> <domain:period unit="y">1</domain:period>
@ -72,7 +72,7 @@ class EppDomainRenewBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<renew> <renew>
<domain:renew xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:renew xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{domain.name}</domain:name> <domain:name>#{domain.name}</domain:name>
<domain:curExpDate>#{domain.valid_to.to_date}</domain:curExpDate> <domain:curExpDate>#{domain.valid_to.to_date}</domain:curExpDate>
<domain:period unit="m">1</domain:period> <domain:period unit="m">1</domain:period>
@ -100,7 +100,7 @@ class EppDomainRenewBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<renew> <renew>
<domain:renew xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:renew xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{domain.name}</domain:name> <domain:name>#{domain.name}</domain:name>
<domain:curExpDate>#{domain.valid_to.to_date}</domain:curExpDate> <domain:curExpDate>#{domain.valid_to.to_date}</domain:curExpDate>
<domain:period unit="m">1</domain:period> <domain:period unit="m">1</domain:period>
@ -128,7 +128,7 @@ class EppDomainRenewBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<renew> <renew>
<domain:renew xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:renew xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{domain.name}</domain:name> <domain:name>#{domain.name}</domain:name>
<domain:curExpDate>#{domain.expire_time.to_date}</domain:curExpDate> <domain:curExpDate>#{domain.expire_time.to_date}</domain:curExpDate>
<domain:period unit="y">1</domain:period> <domain:period unit="y">1</domain:period>
@ -155,7 +155,7 @@ class EppDomainRenewBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<renew> <renew>
<domain:renew xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:renew xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{domain.name}</domain:name> <domain:name>#{domain.name}</domain:name>
<domain:curExpDate>#{domain.expire_time.to_date}</domain:curExpDate> <domain:curExpDate>#{domain.expire_time.to_date}</domain:curExpDate>
<domain:period unit="m">2</domain:period> <domain:period unit="m">2</domain:period>
@ -183,7 +183,7 @@ class EppDomainRenewBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<renew> <renew>
<domain:renew xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:renew xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{domain.name}</domain:name> <domain:name>#{domain.name}</domain:name>
<domain:curExpDate>#{provided_expiration_date}</domain:curExpDate> <domain:curExpDate>#{provided_expiration_date}</domain:curExpDate>
</domain:renew> </domain:renew>
@ -214,7 +214,7 @@ class EppDomainRenewBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<renew> <renew>
<domain:renew xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:renew xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{domain.name}</domain:name> <domain:name>#{domain.name}</domain:name>
<domain:curExpDate>#{domain.expire_time.to_date}</domain:curExpDate> <domain:curExpDate>#{domain.expire_time.to_date}</domain:curExpDate>
<domain:period unit="y">1</domain:period> <domain:period unit="y">1</domain:period>

View file

@ -6,10 +6,10 @@ class EppDomainTransferQueryTest < EppTestCase
headers: { 'HTTP_COOKIE' => 'session=api_bestnames' } headers: { 'HTTP_COOKIE' => 'session=api_bestnames' }
xml_doc = Nokogiri::XML(response.body) xml_doc = Nokogiri::XML(response.body)
assert_epp_response :completed_successfully assert_epp_response :completed_successfully
assert_equal 'shop.test', xml_doc.xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}").text assert_equal 'shop.test', xml_doc.xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}").text
assert_equal 'serverApproved', xml_doc.xpath('//domain:trStatus', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}").text assert_equal 'serverApproved', xml_doc.xpath('//domain:trStatus', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}").text
assert_equal 'goodnames', xml_doc.xpath('//domain:reID', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}").text assert_equal 'goodnames', xml_doc.xpath('//domain:reID', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}").text
assert_equal 'bestnames', xml_doc.xpath('//domain:acID', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}").text assert_equal 'bestnames', xml_doc.xpath('//domain:acID', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}").text
end end
def test_wrong_transfer_code def test_wrong_transfer_code
@ -18,7 +18,7 @@ class EppDomainTransferQueryTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<transfer op="query"> <transfer op="query">
<domain:transfer xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:transfer xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>shop.test</domain:name> <domain:name>shop.test</domain:name>
<domain:authInfo> <domain:authInfo>
<domain:pw>wrong</domain:pw> <domain:pw>wrong</domain:pw>
@ -50,7 +50,7 @@ class EppDomainTransferQueryTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<transfer op="query"> <transfer op="query">
<domain:transfer xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:transfer xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>shop.test</domain:name> <domain:name>shop.test</domain:name>
<domain:authInfo> <domain:authInfo>
<domain:pw>65078d5</domain:pw> <domain:pw>65078d5</domain:pw>

View file

@ -119,7 +119,7 @@ class EppDomainTransferRequestTest < EppTestCase
post epp_transfer_path, params: { frame: request_xml }, post epp_transfer_path, params: { frame: request_xml },
headers: { 'HTTP_COOKIE' => 'session=api_goodnames' } headers: { 'HTTP_COOKIE' => 'session=api_goodnames' }
assert_equal 'serverApproved', Nokogiri::XML(response.body).xpath('//domain:trStatus', 'domain' => assert_equal 'serverApproved', Nokogiri::XML(response.body).xpath('//domain:trStatus', 'domain' =>
"#{Xsd::Schema.filename(for_prefix: 'domain-eis')}").text "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}").text
end end
def test_assigns_new_registrar def test_assigns_new_registrar
@ -204,7 +204,7 @@ class EppDomainTransferRequestTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<transfer op="request"> <transfer op="request">
<domain:transfer xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:transfer xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>shop.test</domain:name> <domain:name>shop.test</domain:name>
<domain:authInfo> <domain:authInfo>
<domain:pw>wrong</domain:pw> <domain:pw>wrong</domain:pw>
@ -231,7 +231,7 @@ class EppDomainTransferRequestTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<transfer op="request"> <transfer op="request">
<domain:transfer xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:transfer xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>shop.test</domain:name> <domain:name>shop.test</domain:name>
<domain:authInfo> <domain:authInfo>
<domain:pw>65078d5</domain:pw> <domain:pw>65078d5</domain:pw>

View file

@ -23,7 +23,7 @@ class EppDomainUpdateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<update> <update>
<domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>shop.test</domain:name> <domain:name>shop.test</domain:name>
<domain:chg> <domain:chg>
<domain:authInfo> <domain:authInfo>
@ -51,7 +51,7 @@ class EppDomainUpdateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<update> <update>
<domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>shop.test</domain:name> <domain:name>shop.test</domain:name>
</domain:update> </domain:update>
</update> </update>
@ -72,7 +72,7 @@ class EppDomainUpdateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<update> <update>
<domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>shop.test</domain:name> <domain:name>shop.test</domain:name>
</domain:update> </domain:update>
</update> </update>
@ -93,7 +93,7 @@ class EppDomainUpdateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<update> <update>
<domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{@domain.name}</domain:name> <domain:name>#{@domain.name}</domain:name>
</domain:update> </domain:update>
</update> </update>
@ -106,7 +106,7 @@ class EppDomainUpdateBaseTest < EppTestCase
assert_epp_response :object_status_prohibits_operation assert_epp_response :object_status_prohibits_operation
response_xml = Nokogiri::XML(response.body) response_xml = Nokogiri::XML(response.body)
assert_equal DomainStatus::PENDING_UPDATE, response_xml.at_xpath('//domain:status', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}").text assert_equal DomainStatus::PENDING_UPDATE, response_xml.at_xpath('//domain:status', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee')}").text
end end
def test_requires_verification_from_current_registrant_when_provided_registrant_is_a_new_one def test_requires_verification_from_current_registrant_when_provided_registrant_is_a_new_one
@ -119,7 +119,7 @@ class EppDomainUpdateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<update> <update>
<domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{@domain.name}</domain:name> <domain:name>#{@domain.name}</domain:name>
<domain:chg> <domain:chg>
<domain:registrant>#{new_registrant.code}</domain:registrant> <domain:registrant>#{new_registrant.code}</domain:registrant>
@ -163,7 +163,7 @@ class EppDomainUpdateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<update> <update>
<domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{@domain.name}</domain:name> <domain:name>#{@domain.name}</domain:name>
<domain:chg> <domain:chg>
<domain:registrant verified="no">#{new_registrant.code}</domain:registrant> <domain:registrant verified="no">#{new_registrant.code}</domain:registrant>
@ -198,7 +198,7 @@ class EppDomainUpdateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<update> <update>
<domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{@domain.name}</domain:name> <domain:name>#{@domain.name}</domain:name>
<domain:chg> <domain:chg>
<domain:registrant verified="no">#{new_registrant.code}</domain:registrant> <domain:registrant verified="no">#{new_registrant.code}</domain:registrant>
@ -241,7 +241,7 @@ class EppDomainUpdateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<update> <update>
<domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{@domain.name}</domain:name> <domain:name>#{@domain.name}</domain:name>
<domain:chg> <domain:chg>
<domain:registrant verified="no">#{new_registrant.code}</domain:registrant> <domain:registrant verified="no">#{new_registrant.code}</domain:registrant>
@ -277,7 +277,7 @@ class EppDomainUpdateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<update> <update>
<domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{@domain.name}</domain:name> <domain:name>#{@domain.name}</domain:name>
<domain:chg> <domain:chg>
<domain:registrant verified="no">#{new_registrant.code}</domain:registrant> <domain:registrant verified="no">#{new_registrant.code}</domain:registrant>
@ -311,7 +311,7 @@ class EppDomainUpdateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<update> <update>
<domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{@domain.name}</domain:name> <domain:name>#{@domain.name}</domain:name>
<domain:chg> <domain:chg>
<domain:registrant>#{new_registrant.code}</domain:registrant> <domain:registrant>#{new_registrant.code}</domain:registrant>
@ -345,7 +345,7 @@ class EppDomainUpdateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<update> <update>
<domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{@domain.name}</domain:name> <domain:name>#{@domain.name}</domain:name>
<domain:chg> <domain:chg>
<domain:registrant>#{@domain.registrant.code}</domain:registrant> <domain:registrant>#{@domain.registrant.code}</domain:registrant>
@ -384,7 +384,7 @@ class EppDomainUpdateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<update> <update>
<domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{@domain.name}</domain:name> <domain:name>#{@domain.name}</domain:name>
<domain:chg> <domain:chg>
<domain:registrant>#{new_registrant.code}</domain:registrant> <domain:registrant>#{new_registrant.code}</domain:registrant>
@ -427,7 +427,7 @@ class EppDomainUpdateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<update> <update>
<domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{@domain.name}</domain:name> <domain:name>#{@domain.name}</domain:name>
<domain:chg> <domain:chg>
<domain:registrant verified="yes">#{new_registrant.code}</domain:registrant> <domain:registrant verified="yes">#{new_registrant.code}</domain:registrant>
@ -466,7 +466,7 @@ class EppDomainUpdateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<update> <update>
<domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{@domain.name}</domain:name> <domain:name>#{@domain.name}</domain:name>
<domain:chg> <domain:chg>
<domain:registrant>#{new_registrant.code}</domain:registrant> <domain:registrant>#{new_registrant.code}</domain:registrant>
@ -503,7 +503,7 @@ class EppDomainUpdateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<update> <update>
<domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{@domain.name}</domain:name> <domain:name>#{@domain.name}</domain:name>
<domain:chg> <domain:chg>
<domain:registrant verified="yes">#{new_registrant.code}</domain:registrant> <domain:registrant verified="yes">#{new_registrant.code}</domain:registrant>
@ -542,7 +542,7 @@ class EppDomainUpdateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<update> <update>
<domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{@domain.name}</domain:name> <domain:name>#{@domain.name}</domain:name>
<domain:chg> <domain:chg>
<domain:registrant verified="yes">#{new_registrant.code}</domain:registrant> <domain:registrant verified="yes">#{new_registrant.code}</domain:registrant>
@ -579,7 +579,7 @@ class EppDomainUpdateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<update> <update>
<domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{@domain.name}</domain:name> <domain:name>#{@domain.name}</domain:name>
<domain:rem> <domain:rem>
<domain:ns> <domain:ns>
@ -611,7 +611,7 @@ class EppDomainUpdateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<update> <update>
<domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>shop.test</domain:name> <domain:name>shop.test</domain:name>
<domain:add> <domain:add>
<domain:status s="clientHold" lang="en">Test</domain:status> <domain:status s="clientHold" lang="en">Test</domain:status>
@ -639,7 +639,7 @@ class EppDomainUpdateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<update> <update>
<domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>shop.test</domain:name> <domain:name>shop.test</domain:name>
<domain:rem> <domain:rem>
<domain:status s="clientHold" lang="en">Test</domain:status> <domain:status s="clientHold" lang="en">Test</domain:status>
@ -664,7 +664,7 @@ class EppDomainUpdateBaseTest < EppTestCase
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}"> <epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee')}">
<command> <command>
<update> <update>
<domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}"> <domain:update xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>#{@domain.name}</domain:name> <domain:name>#{@domain.name}</domain:name>
<domain:rem> <domain:rem>
<domain:status s="clientHold"/> <domain:status s="clientHold"/>

View file

@ -25,7 +25,7 @@ class EppLoginTest < EppTestCase
<lang>en</lang> <lang>en</lang>
</options> </options>
<svcs> <svcs>
<objURI>#{Xsd::Schema.filename(for_prefix: 'domain-eis')}</objURI> <objURI>#{Xsd::Schema.filename(for_prefix: 'domain-ee')}</objURI>
<objURI>#{Xsd::Schema.filename(for_prefix: 'contact-ee')}</objURI> <objURI>#{Xsd::Schema.filename(for_prefix: 'contact-ee')}</objURI>
<objURI>urn:ietf:params:xml:ns:host-1.0</objURI> <objURI>urn:ietf:params:xml:ns:host-1.0</objURI>
<objURI>urn:ietf:params:xml:ns:keyrelay-1.0</objURI> <objURI>urn:ietf:params:xml:ns:keyrelay-1.0</objURI>
@ -60,7 +60,7 @@ class EppLoginTest < EppTestCase
<lang>en</lang> <lang>en</lang>
</options> </options>
<svcs> <svcs>
<objURI>#{Xsd::Schema.filename(for_prefix: 'domain-eis')}</objURI> <objURI>#{Xsd::Schema.filename(for_prefix: 'domain-ee')}</objURI>
<objURI>#{Xsd::Schema.filename(for_prefix: 'contact-ee')}</objURI> <objURI>#{Xsd::Schema.filename(for_prefix: 'contact-ee')}</objURI>
<objURI>urn:ietf:params:xml:ns:host-1.0</objURI> <objURI>urn:ietf:params:xml:ns:host-1.0</objURI>
<objURI>urn:ietf:params:xml:ns:keyrelay-1.0</objURI> <objURI>urn:ietf:params:xml:ns:keyrelay-1.0</objURI>
@ -94,7 +94,7 @@ class EppLoginTest < EppTestCase
<lang>en</lang> <lang>en</lang>
</options> </options>
<svcs> <svcs>
<objURI>#{Xsd::Schema.filename(for_prefix: 'domain-eis')}</objURI> <objURI>#{Xsd::Schema.filename(for_prefix: 'domain-ee')}</objURI>
<objURI>#{Xsd::Schema.filename(for_prefix: 'contact-ee')}</objURI> <objURI>#{Xsd::Schema.filename(for_prefix: 'contact-ee')}</objURI>
<objURI>urn:ietf:params:xml:ns:host-1.0</objURI> <objURI>urn:ietf:params:xml:ns:host-1.0</objURI>
<objURI>urn:ietf:params:xml:ns:keyrelay-1.0</objURI> <objURI>urn:ietf:params:xml:ns:keyrelay-1.0</objURI>
@ -129,7 +129,7 @@ class EppLoginTest < EppTestCase
<lang>en</lang> <lang>en</lang>
</options> </options>
<svcs> <svcs>
<objURI>#{Xsd::Schema.filename(for_prefix: 'domain-eis')}</objURI> <objURI>#{Xsd::Schema.filename(for_prefix: 'domain-ee')}</objURI>
<objURI>#{Xsd::Schema.filename(for_prefix: 'contact-ee')}</objURI> <objURI>#{Xsd::Schema.filename(for_prefix: 'contact-ee')}</objURI>
<objURI>urn:ietf:params:xml:ns:host-1.0</objURI> <objURI>urn:ietf:params:xml:ns:host-1.0</objURI>
<objURI>urn:ietf:params:xml:ns:keyrelay-1.0</objURI> <objURI>urn:ietf:params:xml:ns:keyrelay-1.0</objURI>
@ -164,7 +164,7 @@ class EppLoginTest < EppTestCase
<lang>en</lang> <lang>en</lang>
</options> </options>
<svcs> <svcs>
<objURI>#{Xsd::Schema.filename(for_prefix: 'domain-eis')}</objURI> <objURI>#{Xsd::Schema.filename(for_prefix: 'domain-ee')}</objURI>
<objURI>#{Xsd::Schema.filename(for_prefix: 'contact-ee')}</objURI> <objURI>#{Xsd::Schema.filename(for_prefix: 'contact-ee')}</objURI>
<objURI>urn:ietf:params:xml:ns:host-1.0</objURI> <objURI>urn:ietf:params:xml:ns:host-1.0</objURI>
<objURI>urn:ietf:params:xml:ns:keyrelay-1.0</objURI> <objURI>urn:ietf:params:xml:ns:keyrelay-1.0</objURI>