fix(test): maintain sanity to avoid unexpected test failures in postgres
This commit is contained in:
parent
59a4764912
commit
8d99bed738
1 changed files with 2 additions and 0 deletions
|
|
@ -47,6 +47,8 @@ class TestSQLiteSearchAPI(IntegrationTestCase):
|
|||
@classmethod
|
||||
def setUpClass(cls):
|
||||
super().setUpClass()
|
||||
frappe.db.delete("Note")
|
||||
frappe.db.delete("ToDo")
|
||||
cls.search = TestSQLiteSearch()
|
||||
# Clean up any existing test database
|
||||
cls.search.drop_index()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue