From e0d8171d6e1118eb54a9ddec302c00939fab9320 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Wed, 29 Aug 2018 18:11:33 +0300 Subject: [PATCH] Remove unneeded teardown --- test/system/admin_area/contact_versions_test.rb | 3 --- test/system/admin_area/domain_versions_test.rb | 3 --- 2 files changed, 6 deletions(-) diff --git a/test/system/admin_area/contact_versions_test.rb b/test/system/admin_area/contact_versions_test.rb index 8130706b6..456fbd5fc 100644 --- a/test/system/admin_area/contact_versions_test.rb +++ b/test/system/admin_area/contact_versions_test.rb @@ -39,9 +39,6 @@ class ContactVersionsTest < ApplicationSystemTestCase def delete_objects_once_done ActiveRecord::Base.connection.execute('DELETE from log_contacts where item_id = 75') - Domain.destroy_all - Contact.destroy_all - Registrar.destroy_all end def test_removed_fields_are_not_causing_errors_in_index_view diff --git a/test/system/admin_area/domain_versions_test.rb b/test/system/admin_area/domain_versions_test.rb index dae7592c8..6d158aaf7 100644 --- a/test/system/admin_area/domain_versions_test.rb +++ b/test/system/admin_area/domain_versions_test.rb @@ -43,9 +43,6 @@ class DomainVersionsTest < ApplicationSystemTestCase def delete_objects_once_done ActiveRecord::Base.connection.execute('DELETE FROM log_domains where item_id = 54') - Domain.destroy_all - Contact.destroy_all - Registrar.destroy_all end def test_removed_fields_are_not_causing_errors_in_index_view