fix(test): maintain sanity to avoid unexpected test failures in postgres

This commit is contained in:
AarDG10 2026-01-03 13:54:27 +05:30
parent 59a4764912
commit 8d99bed738

View file

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