diff --git a/test/integration/epp/domain/domain_update_test.rb b/test/integration/epp/domain/domain_update_test.rb
index 9519b37bc..ac7160558 100644
--- a/test/integration/epp/domain/domain_update_test.rb
+++ b/test/integration/epp/domain/domain_update_test.rb
@@ -1,6 +1,31 @@
require 'test_helper'
class EppDomainUpdateTest < ActionDispatch::IntegrationTest
+ def test_update_domain
+ request_xml = <<-XML
+
+
+
+
+
+ shop.test
+
+
+ f0ff7d17b0
+
+
+
+
+
+
+ XML
+
+ post '/epp/command/update', { frame: request_xml }, 'HTTP_COOKIE' => 'session=api_bestnames'
+ assert_equal 'f0ff7d17b0', domains(:shop).transfer_code
+ assert_equal '1000', Nokogiri::XML(response.body).at_css('result')[:code]
+ assert_equal 1, Nokogiri::XML(response.body).css('result').size
+ end
+
def test_discarded_domain_cannot_be_updated
domains(:shop).discard
diff --git a/test/integration/epp/domain/update/transfer_code_test.rb b/test/integration/epp/domain/update/transfer_code_test.rb
deleted file mode 100644
index 92ee58a02..000000000
--- a/test/integration/epp/domain/update/transfer_code_test.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-require 'test_helper'
-
-class EppDomainUpdateTest < ActionDispatch::IntegrationTest
- def test_overwrites_existing
- request_xml = <<-XML
-
-
-
-
-
- shop.test
-
-
- f0ff7d17b0
-
-
-
-
-
-
- XML
-
- post '/epp/command/update', { frame: request_xml }, { 'HTTP_COOKIE' => 'session=api_bestnames' }
- assert_equal 'f0ff7d17b0', domains(:shop).transfer_code
- assert_equal '1000', Nokogiri::XML(response.body).at_css('result')[:code]
- assert_equal 1, Nokogiri::XML(response.body).css('result').size
- end
-end