mirror of
https://github.com/internetee/registry.git
synced 2025-06-12 23:54:44 +02:00
Remove unneeded teardown
This commit is contained in:
parent
afaa3d75d4
commit
e0d8171d6e
2 changed files with 0 additions and 6 deletions
|
@ -39,9 +39,6 @@ class ContactVersionsTest < ApplicationSystemTestCase
|
||||||
|
|
||||||
def delete_objects_once_done
|
def delete_objects_once_done
|
||||||
ActiveRecord::Base.connection.execute('DELETE from log_contacts where item_id = 75')
|
ActiveRecord::Base.connection.execute('DELETE from log_contacts where item_id = 75')
|
||||||
Domain.destroy_all
|
|
||||||
Contact.destroy_all
|
|
||||||
Registrar.destroy_all
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_removed_fields_are_not_causing_errors_in_index_view
|
def test_removed_fields_are_not_causing_errors_in_index_view
|
||||||
|
|
|
@ -43,9 +43,6 @@ class DomainVersionsTest < ApplicationSystemTestCase
|
||||||
|
|
||||||
def delete_objects_once_done
|
def delete_objects_once_done
|
||||||
ActiveRecord::Base.connection.execute('DELETE FROM log_domains where item_id = 54')
|
ActiveRecord::Base.connection.execute('DELETE FROM log_domains where item_id = 54')
|
||||||
Domain.destroy_all
|
|
||||||
Contact.destroy_all
|
|
||||||
Registrar.destroy_all
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_removed_fields_are_not_causing_errors_in_index_view
|
def test_removed_fields_are_not_causing_errors_in_index_view
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue