mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
refactoring
This commit is contained in:
parent
93f9eff20d
commit
539cebe7ec
4 changed files with 34 additions and 10 deletions
|
@ -26,10 +26,8 @@ class EppDomainInfoBaseTest < EppTestCase
|
|||
|
||||
response_xml = Nokogiri::XML(response.body)
|
||||
|
||||
schema_version = return_xml_domain_schema_version(response_xml)
|
||||
|
||||
assert_epp_response :completed_successfully
|
||||
assert schema_version >= 1.1
|
||||
assert assert_schema_is_bigger(response_xml, 'domain-eis', 1.1)
|
||||
assert_equal 'shop.test', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}").text
|
||||
assert_equal 'ok', response_xml.at_xpath('//domain:status', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}")['s']
|
||||
assert_equal 'john-001', response_xml.at_xpath('//domain:registrant', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-eis')}").text
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue