Remove unneeded teardown

This commit is contained in:
Artur Beljajev 2018-08-29 18:11:33 +03:00
parent afaa3d75d4
commit e0d8171d6e
2 changed files with 0 additions and 6 deletions

View file

@ -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

View file

@ -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