mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 14:36:22 +02:00
updated tests
This commit is contained in:
parent
49fc79244f
commit
825f813437
17 changed files with 154 additions and 154 deletions
|
@ -133,7 +133,7 @@ class EppDomainTransferRequestTest < EppTestCase
|
|||
response_xml = Nokogiri::XML(response.body)
|
||||
assert_correct_against_schema response_xml
|
||||
assert_equal 'serverApproved', Nokogiri::XML(response.body).xpath('//domain:trStatus', 'domain' =>
|
||||
"#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}").text
|
||||
"#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}").text
|
||||
end
|
||||
|
||||
def test_assigns_new_registrar
|
||||
|
@ -236,7 +236,7 @@ class EppDomainTransferRequestTest < EppTestCase
|
|||
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee', for_version: '1.0')}">
|
||||
<command>
|
||||
<transfer op="request">
|
||||
<domain:transfer xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}">
|
||||
<domain:transfer xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}">
|
||||
<domain:name>shop.test</domain:name>
|
||||
<domain:authInfo>
|
||||
<domain:pw>wrong</domain:pw>
|
||||
|
@ -265,7 +265,7 @@ class EppDomainTransferRequestTest < EppTestCase
|
|||
<epp xmlns="#{Xsd::Schema.filename(for_prefix: 'epp-ee', for_version: '1.0')}">
|
||||
<command>
|
||||
<transfer op="request">
|
||||
<domain:transfer xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}">
|
||||
<domain:transfer xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}">
|
||||
<domain:name>shop.test</domain:name>
|
||||
<domain:authInfo>
|
||||
<domain:pw>65078d5</domain:pw>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue