diff --git a/test/integration/admin_area/domain_update_confirms_test.rb b/test/integration/admin_area/domain_update_confirms_test.rb index 3cd64a872..55b00005f 100644 --- a/test/integration/admin_area/domain_update_confirms_test.rb +++ b/test/integration/admin_area/domain_update_confirms_test.rb @@ -18,7 +18,7 @@ class AdminAreaBlockedDomainsIntegrationTest < JavaScriptApplicationSystemTestCa - + #{@domain.name} #{new_registrant.code} @@ -53,7 +53,7 @@ class AdminAreaBlockedDomainsIntegrationTest < JavaScriptApplicationSystemTestCa - + #{@domain.name} #{new_registrant.code} diff --git a/test/integration/epp/base_test.rb b/test/integration/epp/base_test.rb index 4aa89e1ed..400702b28 100644 --- a/test/integration/epp/base_test.rb +++ b/test/integration/epp/base_test.rb @@ -91,7 +91,7 @@ class EppBaseTest < EppTestCase - + #{domains(:shop).name} @@ -115,7 +115,7 @@ class EppBaseTest < EppTestCase - + #{domains(:shop).name} @@ -141,7 +141,7 @@ class EppBaseTest < EppTestCase - + #{domains(:shop).name} @@ -168,7 +168,7 @@ class EppBaseTest < EppTestCase - + #{domains(:shop).name} diff --git a/test/integration/epp/domain/base_test.rb b/test/integration/epp/domain/base_test.rb index 9b117f3d4..4e19dcd77 100644 --- a/test/integration/epp/domain/base_test.rb +++ b/test/integration/epp/domain/base_test.rb @@ -7,7 +7,7 @@ class EppDomainBaseTest < EppTestCase - + non-existent.test diff --git a/test/integration/epp/domain/check/auction_test.rb b/test/integration/epp/domain/check/auction_test.rb index ad134794a..df0430287 100644 --- a/test/integration/epp/domain/check/auction_test.rb +++ b/test/integration/epp/domain/check/auction_test.rb @@ -20,7 +20,7 @@ class EppDomainCheckAuctionTest < EppTestCase - + auction.test @@ -34,8 +34,8 @@ class EppDomainCheckAuctionTest < EppTestCase response_xml = Nokogiri::XML(response.body) assert_correct_against_schema response_xml assert_epp_response :completed_successfully - assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}")['avail'] - assert_equal 'Domain is at auction', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}").text + assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}")['avail'] + assert_equal 'Domain is at auction', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}").text end def test_idn_ascii_domain_is_unavailable_when_at_auction @@ -46,7 +46,7 @@ class EppDomainCheckAuctionTest < EppTestCase - + xn--pramiid-n2a.test @@ -60,8 +60,8 @@ class EppDomainCheckAuctionTest < EppTestCase response_xml = Nokogiri::XML(response.body) assert_correct_against_schema response_xml assert_epp_response :completed_successfully - assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}")['avail'] - assert_equal 'Domain is at auction', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}").text + assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}")['avail'] + assert_equal 'Domain is at auction', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}").text end def test_idn_unicode_domain_is_unavailable_when_at_auction @@ -72,7 +72,7 @@ class EppDomainCheckAuctionTest < EppTestCase - + püramiid.test @@ -86,8 +86,8 @@ class EppDomainCheckAuctionTest < EppTestCase response_xml = Nokogiri::XML(response.body) assert_correct_against_schema response_xml assert_epp_response :completed_successfully - assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}")['avail'] - assert_equal 'Domain is at auction', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}").text + assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}")['avail'] + assert_equal 'Domain is at auction', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}").text end def test_domain_is_unavailable_when_awaiting_payment @@ -98,7 +98,7 @@ class EppDomainCheckAuctionTest < EppTestCase - + auction.test @@ -112,8 +112,8 @@ class EppDomainCheckAuctionTest < EppTestCase response_xml = Nokogiri::XML(response.body) assert_correct_against_schema response_xml assert_epp_response :completed_successfully - assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}")['avail'] - assert_equal 'Awaiting payment', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}").text + assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}")['avail'] + assert_equal 'Awaiting payment', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}").text end def test_domain_is_available_when_payment_received @@ -124,7 +124,7 @@ class EppDomainCheckAuctionTest < EppTestCase - + auction.test @@ -138,7 +138,7 @@ class EppDomainCheckAuctionTest < EppTestCase response_xml = Nokogiri::XML(response.body) assert_correct_against_schema response_xml assert_epp_response :completed_successfully - assert_equal '1', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}")['avail'] - assert_nil response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}") + assert_equal '1', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}")['avail'] + assert_nil response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}") end end diff --git a/test/integration/epp/domain/check/base_test.rb b/test/integration/epp/domain/check/base_test.rb index 3a5b9bd76..7a1c20c88 100644 --- a/test/integration/epp/domain/check/base_test.rb +++ b/test/integration/epp/domain/check/base_test.rb @@ -7,7 +7,7 @@ class EppDomainCheckBaseTest < EppTestCase - + some.test @@ -21,7 +21,7 @@ class EppDomainCheckBaseTest < EppTestCase response_xml = Nokogiri::XML(response.body) assert_epp_response :completed_successfully assert_correct_against_schema response_xml - assert_equal 'some.test', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}").text + assert_equal 'some.test', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}").text end def test_domain_is_available_when_not_registered_or_blocked @@ -30,7 +30,7 @@ class EppDomainCheckBaseTest < EppTestCase - + available.test @@ -43,8 +43,8 @@ class EppDomainCheckBaseTest < EppTestCase response_xml = Nokogiri::XML(response.body) assert_correct_against_schema response_xml - assert_equal '1', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}")['avail'] - assert_nil response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}") + assert_equal '1', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}")['avail'] + assert_nil response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}") end def test_domain_is_available_when_reserved @@ -55,7 +55,7 @@ class EppDomainCheckBaseTest < EppTestCase - + reserved.test @@ -68,8 +68,8 @@ class EppDomainCheckBaseTest < EppTestCase response_xml = Nokogiri::XML(response.body) assert_correct_against_schema response_xml - assert_equal '1', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}")['avail'] - assert_nil response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}") + assert_equal '1', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}")['avail'] + assert_nil response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}") end def test_domain_is_unavailable_when_format_is_invalid @@ -78,7 +78,7 @@ class EppDomainCheckBaseTest < EppTestCase - + invalid @@ -91,8 +91,8 @@ class EppDomainCheckBaseTest < EppTestCase response_xml = Nokogiri::XML(response.body) assert_correct_against_schema response_xml - assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}")['avail'] - assert_equal 'invalid format', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}").text + assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}")['avail'] + assert_equal 'invalid format', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}").text end def test_domain_is_unavailable_when_registered @@ -103,7 +103,7 @@ class EppDomainCheckBaseTest < EppTestCase - + shop.test @@ -116,8 +116,8 @@ class EppDomainCheckBaseTest < EppTestCase response_xml = Nokogiri::XML(response.body) assert_correct_against_schema response_xml - assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}")['avail'] - assert_equal 'in use', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}").text + assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}")['avail'] + assert_equal 'in use', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}").text end def test_domain_is_unavailable_when_blocked @@ -128,7 +128,7 @@ class EppDomainCheckBaseTest < EppTestCase - + blocked.test @@ -141,8 +141,8 @@ class EppDomainCheckBaseTest < EppTestCase response_xml = Nokogiri::XML(response.body) assert_correct_against_schema response_xml - assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}")['avail'] - assert_equal 'Blocked', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}").text + assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}")['avail'] + assert_equal 'Blocked', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}").text end def test_domain_is_unavailable_when_zone_with_the_same_origin_exists @@ -153,7 +153,7 @@ class EppDomainCheckBaseTest < EppTestCase - + test @@ -166,8 +166,8 @@ class EppDomainCheckBaseTest < EppTestCase response_xml = Nokogiri::XML(response.body) assert_correct_against_schema response_xml - assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}")['avail'] - assert_equal 'Zone with the same origin exists', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}").text + assert_equal '0', response_xml.at_xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}")['avail'] + assert_equal 'Zone with the same origin exists', response_xml.at_xpath('//domain:reason', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}").text end def test_multiple_domains @@ -176,7 +176,7 @@ class EppDomainCheckBaseTest < EppTestCase - + one.test two.test three.test @@ -191,6 +191,6 @@ class EppDomainCheckBaseTest < EppTestCase response_xml = Nokogiri::XML(response.body) assert_correct_against_schema response_xml - assert_equal 3, response_xml.xpath('//domain:cd', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}").size + assert_equal 3, response_xml.xpath('//domain:cd', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}").size end end diff --git a/test/integration/epp/domain/create/auction_idn_test.rb b/test/integration/epp/domain/create/auction_idn_test.rb index 604b74c7d..76532ca51 100644 --- a/test/integration/epp/domain/create/auction_idn_test.rb +++ b/test/integration/epp/domain/create/auction_idn_test.rb @@ -24,7 +24,7 @@ class EppDomainCreateAuctionIdnTest < EppTestCase - + xn--pramiid-n2a.test #{contacts(:john).code} @@ -62,7 +62,7 @@ class EppDomainCreateAuctionIdnTest < EppTestCase - + püramiid.test #{contacts(:john).code} @@ -99,7 +99,7 @@ class EppDomainCreateAuctionIdnTest < EppTestCase - + xn--pramiid-n2a.test #{contacts(:john).code} @@ -136,7 +136,7 @@ class EppDomainCreateAuctionIdnTest < EppTestCase - + püramiid.test #{contacts(:john).code} @@ -174,7 +174,7 @@ class EppDomainCreateAuctionIdnTest < EppTestCase - + püramiid.test #{contacts(:john).code} @@ -214,7 +214,7 @@ class EppDomainCreateAuctionIdnTest < EppTestCase - + xn--pramiid-n2a.test #{contacts(:john).code} diff --git a/test/integration/epp/domain/create/auction_test.rb b/test/integration/epp/domain/create/auction_test.rb index cd20f2dac..ebebfb9bf 100644 --- a/test/integration/epp/domain/create/auction_test.rb +++ b/test/integration/epp/domain/create/auction_test.rb @@ -16,7 +16,7 @@ class EppDomainCreateAuctionTest < EppTestCase - + not-at-auction.test #{contacts(:john).code} @@ -53,7 +53,7 @@ class EppDomainCreateAuctionTest < EppTestCase - + auction.test #{contacts(:john).code} @@ -88,7 +88,7 @@ class EppDomainCreateAuctionTest < EppTestCase - + auction.test #{contacts(:john).code} @@ -126,7 +126,7 @@ class EppDomainCreateAuctionTest < EppTestCase - + auction.test #{contacts(:john).code} @@ -158,7 +158,7 @@ class EppDomainCreateAuctionTest < EppTestCase - + auction.test #{contacts(:john).code} @@ -192,7 +192,7 @@ class EppDomainCreateAuctionTest < EppTestCase - + auction.test #{contacts(:john).code} @@ -226,7 +226,7 @@ class EppDomainCreateAuctionTest < EppTestCase - + auction.test diff --git a/test/integration/epp/domain/create/base_test.rb b/test/integration/epp/domain/create/base_test.rb index de36e7a02..63212d2fa 100644 --- a/test/integration/epp/domain/create/base_test.rb +++ b/test/integration/epp/domain/create/base_test.rb @@ -17,7 +17,7 @@ class EppDomainCreateBaseTest < EppTestCase - + #{name} #{registrant.code} @@ -59,7 +59,7 @@ class EppDomainCreateBaseTest < EppTestCase - + #{name} #{registrant.code} @@ -94,7 +94,7 @@ class EppDomainCreateBaseTest < EppTestCase - + #{name} #{registrant.code} @@ -132,7 +132,7 @@ class EppDomainCreateBaseTest < EppTestCase - + #{name} #{registrant.code} @@ -170,7 +170,7 @@ class EppDomainCreateBaseTest < EppTestCase - + #{name} #{registrant.code} @@ -201,7 +201,7 @@ class EppDomainCreateBaseTest < EppTestCase - + #{name} #{registrant.code} #{contacts(:jane).code} @@ -239,7 +239,7 @@ class EppDomainCreateBaseTest < EppTestCase - + #{name} #{registrant.code} #{contact.code} @@ -279,7 +279,7 @@ class EppDomainCreateBaseTest < EppTestCase - + #{name} #{registrant.code} #{contact.code} @@ -318,7 +318,7 @@ class EppDomainCreateBaseTest < EppTestCase - + #{name} #{registrant.code} #{contact.code} @@ -358,7 +358,7 @@ class EppDomainCreateBaseTest < EppTestCase - + #{name} #{registrant.code} #{contact.code} @@ -398,7 +398,7 @@ class EppDomainCreateBaseTest < EppTestCase - + #{name} #{registrant.code} #{contact_two.code} @@ -437,7 +437,7 @@ class EppDomainCreateBaseTest < EppTestCase - + #{name} #{registrant.code} @@ -487,7 +487,7 @@ class EppDomainCreateBaseTest < EppTestCase - + #{name} #{registrant.code} @@ -525,7 +525,7 @@ class EppDomainCreateBaseTest < EppTestCase - + #{name} #{registrant.code} @@ -562,7 +562,7 @@ class EppDomainCreateBaseTest < EppTestCase - + #{reserved_domain.name} #{contacts(:john).code} @@ -600,7 +600,7 @@ class EppDomainCreateBaseTest < EppTestCase - + #{name} #{contacts(:john).code} @@ -635,7 +635,7 @@ class EppDomainCreateBaseTest < EppTestCase - + #{blocked_domain} #{contacts(:john).code} @@ -667,7 +667,7 @@ class EppDomainCreateBaseTest < EppTestCase - + #{SimpleIDN.to_ascii('blockedäöüõ.test')} #{contacts(:john).code} @@ -696,7 +696,7 @@ class EppDomainCreateBaseTest < EppTestCase - + #{reserved_domains(:one).name} #{contacts(:john).code} @@ -730,7 +730,7 @@ class EppDomainCreateBaseTest < EppTestCase - + #{reserved_domain.name} #{contacts(:john).code} @@ -762,7 +762,7 @@ class EppDomainCreateBaseTest < EppTestCase - + new.test #{contacts(:john).code} @@ -792,7 +792,7 @@ class EppDomainCreateBaseTest < EppTestCase - + new.test 2 john-001 diff --git a/test/integration/epp/domain/delete/base_test.rb b/test/integration/epp/domain/delete/base_test.rb index 04c6fe714..95e5e6afd 100644 --- a/test/integration/epp/domain/delete/base_test.rb +++ b/test/integration/epp/domain/delete/base_test.rb @@ -21,7 +21,7 @@ class EppDomainDeleteBaseTest < EppTestCase - + invalid.test @@ -50,7 +50,7 @@ class EppDomainDeleteBaseTest < EppTestCase - + shop.test @@ -80,7 +80,7 @@ class EppDomainDeleteBaseTest < EppTestCase - + shop.test @@ -116,7 +116,7 @@ class EppDomainDeleteBaseTest < EppTestCase - + shop.test @@ -153,7 +153,7 @@ class EppDomainDeleteBaseTest < EppTestCase - + shop.test @@ -189,7 +189,7 @@ class EppDomainDeleteBaseTest < EppTestCase - + shop.test @@ -224,7 +224,7 @@ class EppDomainDeleteBaseTest < EppTestCase - + shop.test @@ -248,7 +248,7 @@ class EppDomainDeleteBaseTest < EppTestCase - + shop.test diff --git a/test/integration/epp/domain/info/base_test.rb b/test/integration/epp/domain/info/base_test.rb index 3e4178054..da3be1d38 100644 --- a/test/integration/epp/domain/info/base_test.rb +++ b/test/integration/epp/domain/info/base_test.rb @@ -13,7 +13,7 @@ class EppDomainInfoBaseTest < EppTestCase - + shop.test @@ -30,22 +30,22 @@ class EppDomainInfoBaseTest < EppTestCase assert assert_schema_is_bigger(response_xml, 'domain-ee', 1.1) assert_equal 'shop.test', response_xml.at_xpath('//domain:name', - 'domain' => Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1').to_s).text + 'domain' => Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2').to_s).text assert_equal 'ok', response_xml.at_xpath('//domain:status', - 'domain' => Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1').to_s)['s'] + 'domain' => Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2').to_s)['s'] assert_equal 'john-001', response_xml.at_xpath('//domain:registrant', - 'domain' => Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1').to_s).text + 'domain' => Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2').to_s).text assert_equal '2010-07-05T00:00:00+03:00', response_xml.at_xpath('//domain:crDate', - 'domain' => Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1').to_s).text + 'domain' => Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2').to_s).text assert_equal '2010-07-06T00:00:00+03:00', response_xml.at_xpath('//domain:upDate', - 'domain' => Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1').to_s).text + 'domain' => Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2').to_s).text assert_equal '2010-07-07T00:00:00+03:00', response_xml.at_xpath('//domain:exDate', - 'domain' => Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1').to_s).text + 'domain' => Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2').to_s).text end def test_return_wrong_schema_with_invalid_version @@ -74,7 +74,7 @@ class EppDomainInfoBaseTest < EppTestCase - + shop.test @@ -164,7 +164,7 @@ class EppDomainInfoBaseTest < EppTestCase - + shop.test @@ -192,7 +192,7 @@ class EppDomainInfoBaseTest < EppTestCase - + shop.test @@ -216,7 +216,7 @@ class EppDomainInfoBaseTest < EppTestCase - + shop.test @@ -230,7 +230,7 @@ class EppDomainInfoBaseTest < EppTestCase response_xml = Nokogiri::XML(response.body) assert_equal '65078d5', response_xml.at_xpath('//domain:authInfo/domain:pw', - 'domain' => Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1').to_s).text + 'domain' => Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2').to_s).text assert_correct_against_schema response_xml end @@ -244,7 +244,7 @@ class EppDomainInfoBaseTest < EppTestCase - + shop.test 65078d5 @@ -261,7 +261,7 @@ class EppDomainInfoBaseTest < EppTestCase response_xml = Nokogiri::XML(response.body) assert_equal '65078d5', response_xml.at_xpath('//domain:authInfo/domain:pw', - 'domain' => Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1').to_s).text + 'domain' => Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2').to_s).text assert_correct_against_schema response_xml end @@ -271,7 +271,7 @@ class EppDomainInfoBaseTest < EppTestCase - + shop.test @@ -288,6 +288,6 @@ class EppDomainInfoBaseTest < EppTestCase response_xml = Nokogiri::XML(response.body) assert_correct_against_schema response_xml assert_nil response_xml.at_xpath('//domain:authInfo/domain:pw', - 'domain' => Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1').to_s) + 'domain' => Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2').to_s) end end diff --git a/test/integration/epp/domain/renew/base_test.rb b/test/integration/epp/domain/renew/base_test.rb index 6cbe619d4..68d4f7d2a 100644 --- a/test/integration/epp/domain/renew/base_test.rb +++ b/test/integration/epp/domain/renew/base_test.rb @@ -14,7 +14,7 @@ class EppDomainRenewBaseTest < EppTestCase - + #{domain.name} #{domain.expire_time.to_date} 1 @@ -48,7 +48,7 @@ class EppDomainRenewBaseTest < EppTestCase - + #{domain.name} #{domain.expire_time.to_date} 1 @@ -78,7 +78,7 @@ class EppDomainRenewBaseTest < EppTestCase - + #{domain.name} #{domain.valid_to.to_date} 1 @@ -109,7 +109,7 @@ class EppDomainRenewBaseTest < EppTestCase - + #{domain.name} #{domain.valid_to.to_date} 1 @@ -140,7 +140,7 @@ class EppDomainRenewBaseTest < EppTestCase - + #{domain.name} #{domain.expire_time.to_date} 1 @@ -170,7 +170,7 @@ class EppDomainRenewBaseTest < EppTestCase - + #{domain.name} #{domain.expire_time.to_date} 2 @@ -201,7 +201,7 @@ class EppDomainRenewBaseTest < EppTestCase - + #{domain.name} #{provided_expiration_date} @@ -235,7 +235,7 @@ class EppDomainRenewBaseTest < EppTestCase - + #{domain.name} #{domain.expire_time.to_date} 1 diff --git a/test/integration/epp/domain/transfer/query_test.rb b/test/integration/epp/domain/transfer/query_test.rb index 7635d8a8b..6f9ad9516 100644 --- a/test/integration/epp/domain/transfer/query_test.rb +++ b/test/integration/epp/domain/transfer/query_test.rb @@ -9,10 +9,10 @@ class EppDomainTransferQueryTest < EppTestCase assert_correct_against_schema xml_doc assert_epp_response :completed_successfully - assert_equal 'shop.test', xml_doc.xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}").text - assert_equal 'serverApproved', xml_doc.xpath('//domain:trStatus', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}").text - assert_equal 'goodnames', xml_doc.xpath('//domain:reID', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}").text - assert_equal 'bestnames', xml_doc.xpath('//domain:acID', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')}").text + assert_equal 'shop.test', xml_doc.xpath('//domain:name', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}").text + assert_equal 'serverApproved', xml_doc.xpath('//domain:trStatus', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}").text + assert_equal 'goodnames', xml_doc.xpath('//domain:reID', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}").text + assert_equal 'bestnames', xml_doc.xpath('//domain:acID', 'domain' => "#{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')}").text end def test_wrong_transfer_code @@ -21,7 +21,7 @@ class EppDomainTransferQueryTest < EppTestCase - + shop.test wrong @@ -57,7 +57,7 @@ class EppDomainTransferQueryTest < EppTestCase - + shop.test 65078d5 diff --git a/test/integration/epp/domain/transfer/request_test.rb b/test/integration/epp/domain/transfer/request_test.rb index 1e706ce6b..b1be6a97b 100644 --- a/test/integration/epp/domain/transfer/request_test.rb +++ b/test/integration/epp/domain/transfer/request_test.rb @@ -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 - + shop.test wrong @@ -265,7 +265,7 @@ class EppDomainTransferRequestTest < EppTestCase - + shop.test 65078d5 diff --git a/test/integration/epp/domain/update/base_test.rb b/test/integration/epp/domain/update/base_test.rb index ab093d89f..a98ddf37d 100644 --- a/test/integration/epp/domain/update/base_test.rb +++ b/test/integration/epp/domain/update/base_test.rb @@ -23,7 +23,7 @@ class EppDomainUpdateBaseTest < EppTestCase - + shop.test @@ -60,7 +60,7 @@ class EppDomainUpdateBaseTest < EppTestCase - + shop.test @@ -105,7 +105,7 @@ class EppDomainUpdateBaseTest < EppTestCase - + shop.test @@ -149,7 +149,7 @@ class EppDomainUpdateBaseTest < EppTestCase - + shop.test @@ -188,7 +188,7 @@ class EppDomainUpdateBaseTest < EppTestCase - + shop.test @@ -228,7 +228,7 @@ class EppDomainUpdateBaseTest < EppTestCase - + shop.test @@ -258,7 +258,7 @@ class EppDomainUpdateBaseTest < EppTestCase - + shop.test @@ -279,7 +279,7 @@ class EppDomainUpdateBaseTest < EppTestCase - + shop.test @@ -302,7 +302,7 @@ class EppDomainUpdateBaseTest < EppTestCase - + #{@domain.name} @@ -329,7 +329,7 @@ class EppDomainUpdateBaseTest < EppTestCase - + #{@domain.name} #{new_registrant.code} @@ -375,7 +375,7 @@ class EppDomainUpdateBaseTest < EppTestCase - + #{@domain.name} #{new_registrant.code} @@ -412,7 +412,7 @@ class EppDomainUpdateBaseTest < EppTestCase - + #{@domain.name} #{new_registrant.code} @@ -457,7 +457,7 @@ class EppDomainUpdateBaseTest < EppTestCase - + #{@domain.name} #{new_registrant.code} @@ -495,7 +495,7 @@ class EppDomainUpdateBaseTest < EppTestCase - + #{@domain.name} #{new_registrant.code} @@ -531,7 +531,7 @@ class EppDomainUpdateBaseTest < EppTestCase - + #{@domain.name} #{new_registrant.code} @@ -567,7 +567,7 @@ class EppDomainUpdateBaseTest < EppTestCase - + #{@domain.name} #{@domain.registrant.code} @@ -608,7 +608,7 @@ class EppDomainUpdateBaseTest < EppTestCase - + #{@domain.name} #{new_registrant.code} @@ -653,7 +653,7 @@ class EppDomainUpdateBaseTest < EppTestCase - + #{@domain.name} #{new_registrant.code} @@ -694,7 +694,7 @@ class EppDomainUpdateBaseTest < EppTestCase - + #{@domain.name} #{new_registrant.code} @@ -733,7 +733,7 @@ class EppDomainUpdateBaseTest < EppTestCase - + #{@domain.name} #{new_registrant.code} @@ -781,7 +781,7 @@ class EppDomainUpdateBaseTest < EppTestCase - + #{@domain.name} #{new_registrant.code} @@ -818,7 +818,7 @@ class EppDomainUpdateBaseTest < EppTestCase - + #{@domain.name} #{new_registrant.code} @@ -857,7 +857,7 @@ class EppDomainUpdateBaseTest < EppTestCase - + #{@domain.name} @@ -892,7 +892,7 @@ class EppDomainUpdateBaseTest < EppTestCase - + shop.test Test @@ -923,7 +923,7 @@ class EppDomainUpdateBaseTest < EppTestCase - + shop.test Test @@ -951,7 +951,7 @@ class EppDomainUpdateBaseTest < EppTestCase - + #{@domain.name} diff --git a/test/integration/epp/domain/update/rem_dns_test.rb b/test/integration/epp/domain/update/rem_dns_test.rb index a34b52063..fd46338e7 100644 --- a/test/integration/epp/domain/update/rem_dns_test.rb +++ b/test/integration/epp/domain/update/rem_dns_test.rb @@ -25,7 +25,7 @@ class EppDomainUpdateRemDnsTest < EppTestCase - + shop.test @@ -65,7 +65,7 @@ class EppDomainUpdateRemDnsTest < EppTestCase - + shop.test diff --git a/test/integration/epp/login_test.rb b/test/integration/epp/login_test.rb index 4ac3ad6e6..80d7251d6 100644 --- a/test/integration/epp/login_test.rb +++ b/test/integration/epp/login_test.rb @@ -25,7 +25,7 @@ class EppLoginTest < EppTestCase en - #{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')} + #{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')} #{Xsd::Schema.filename(for_prefix: 'contact-ee', for_version: '1.1')} urn:ietf:params:xml:ns:host-1.0 urn:ietf:params:xml:ns:keyrelay-1.0 @@ -60,7 +60,7 @@ class EppLoginTest < EppTestCase en - #{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')} + #{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')} #{Xsd::Schema.filename(for_prefix: 'contact-ee', for_version: '1.1')} urn:ietf:params:xml:ns:host-1.0 urn:ietf:params:xml:ns:keyrelay-1.0 @@ -94,7 +94,7 @@ class EppLoginTest < EppTestCase en - #{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')} + #{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')} #{Xsd::Schema.filename(for_prefix: 'contact-ee', for_version: '1.1')} urn:ietf:params:xml:ns:host-1.0 urn:ietf:params:xml:ns:keyrelay-1.0 @@ -129,7 +129,7 @@ class EppLoginTest < EppTestCase en - #{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')} + #{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')} #{Xsd::Schema.filename(for_prefix: 'contact-ee', for_version: '1.1')} urn:ietf:params:xml:ns:host-1.0 urn:ietf:params:xml:ns:keyrelay-1.0 @@ -164,7 +164,7 @@ class EppLoginTest < EppTestCase en - #{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1')} + #{Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.2')} #{Xsd::Schema.filename(for_prefix: 'contact-ee', for_version: '1.1')} urn:ietf:params:xml:ns:host-1.0 urn:ietf:params:xml:ns:keyrelay-1.0 diff --git a/test/integration/registrar_area/xml_consoles_test.rb b/test/integration/registrar_area/xml_consoles_test.rb index 442e6f2c0..443abfb78 100644 --- a/test/integration/registrar_area/xml_consoles_test.rb +++ b/test/integration/registrar_area/xml_consoles_test.rb @@ -58,7 +58,7 @@ class RegistrarXmlConsolesIntegrationTest < ApplicationIntegrationTest + xmlns:domain="https://epp.tld.ee/schema/domain-ee-1.2.xsd"> example.ee