mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-05 22:48:27 +00:00
Merge branch 'frappe:develop' into ksa-vat-updates
This commit is contained in:
@@ -534,8 +534,6 @@ class TestItem(ERPNextTestCase):
|
|||||||
|
|
||||||
def test_index_creation(self):
|
def test_index_creation(self):
|
||||||
"check if index is getting created in db"
|
"check if index is getting created in db"
|
||||||
from erpnext.stock.doctype.item.item import on_doctype_update
|
|
||||||
on_doctype_update()
|
|
||||||
|
|
||||||
indices = frappe.db.sql("show index from tabItem", as_dict=1)
|
indices = frappe.db.sql("show index from tabItem", as_dict=1)
|
||||||
expected_columns = {"item_code", "item_name", "item_group", "route"}
|
expected_columns = {"item_code", "item_name", "item_group", "route"}
|
||||||
|
|||||||
Reference in New Issue
Block a user