From 7689a11a7f9fcc97431f464bd2159e918b02575d Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Wed, 11 Sep 2019 19:30:13 +0300 Subject: [PATCH] Remove duplicate test --- .../epp/domain/create/auction_idn_test.rb | 37 ------------------- 1 file changed, 37 deletions(-) diff --git a/test/integration/epp/domain/create/auction_idn_test.rb b/test/integration/epp/domain/create/auction_idn_test.rb index 8830d93f2..d4c49d66d 100644 --- a/test/integration/epp/domain/create/auction_idn_test.rb +++ b/test/integration/epp/domain/create/auction_idn_test.rb @@ -116,43 +116,6 @@ class EppDomainCreateAuctionIdnTest < EppTestCase assert_epp_response :parameter_value_policy_error end - def test_domain_with_unicode_idn_cannot_be_registered_without_winning_the_auction - @idn_auction.started! - - request_xml = <<-XML - - - - - - püramiid.test - #{contacts(:john).code} - - - - - #{'test' * 2000} - - - - - XML - - assert_no_difference 'Domain.count' do - post '/epp/command/create', { frame: request_xml }, 'HTTP_COOKIE' => 'session=api_bestnames' - end - - refute Domain.where(name: @idn_auction.domain).exists? - - @idn_auction.reload - refute @idn_auction.domain_registered? - - response_xml = Nokogiri::XML(response.body) - assert_equal '2306', response_xml.at_css('result')[:code] - assert_equal 'Parameter value policy error: domain is at auction', - response_xml.at_css('result msg').text - end - def test_domain_with_unicode_idn_cannot_be_registered_without_winning_the_auction @idn_auction.started!