diff --git a/test/integration/epp/domain/update/base_test.rb b/test/integration/epp/domain/update/base_test.rb
index a98ddf37d..3a3826622 100644
--- a/test/integration/epp/domain/update/base_test.rb
+++ b/test/integration/epp/domain/update/base_test.rb
@@ -48,7 +48,7 @@ class EppDomainUpdateBaseTest < EppTestCase
assert_epp_response :parameter_value_syntax_error
end
- def test_update_domain_data_out_of_extension_block_with_serverDnskeyUpdateEnabled
+ def test_update_domain_data_out_of_extension_block_with_serverObjUpdateProhibited
@domain = domains(:shop)
@domain.statuses << DomainStatus::SERVER_OBJ_UPDATE_PROHIBITED
@domain.save
@@ -90,53 +90,7 @@ class EppDomainUpdateBaseTest < EppTestCase
assert_correct_against_schema response_xml
@domain.reload
- assert_epp_response :completed_successfully
- end
-
- def test_update_domain_dns_with_serverDnskeyUpdateEnabled
- @domain = domains(:shop)
- @domain.statuses << DomainStatus::SERVER_OBJ_UPDATE_PROHIBITED
- @domain.save
- @dnskey = dnskeys(:one)
- @dnskey.update(domain: @domain)
-
- request_xml = <<-XML
-
-
-
-
-
- shop.test
-
-
- f0ff7d17b0
-
-
-
-
-
-
-
-
- #{@dnskey.flags}
- #{@dnskey.protocol}
- #{@dnskey.alg}
- #{@dnskey.public_key}
-
-
-
-
-
-
- XML
-
- post epp_update_path, params: { frame: request_xml },
- headers: { 'HTTP_COOKIE' => 'session=api_bestnames' }
- response_xml = Nokogiri::XML(response.body)
- assert_correct_against_schema response_xml
- @domain.reload
-
- assert_epp_response :completed_successfully
+ assert_epp_response :object_status_prohibits_operation
end
def test_update_domain_data_out_of_extension_block_with_extension_update_prohibited
@@ -190,11 +144,6 @@ class EppDomainUpdateBaseTest < EppTestCase
shop.test
-
-
- f0ff7d17b0
-
-