fix: tests

- specify sorting order in employee exits query

- rollback after work order tests
This commit is contained in:
Rucha Mahabal
2021-12-12 23:20:04 +05:30
parent e93694d0ab
commit bb97309e2e
2 changed files with 5 additions and 1 deletions

View File

@@ -29,6 +29,9 @@ class TestWorkOrder(ERPNextTestCase):
self.warehouse = '_Test Warehouse 2 - _TC'
self.item = '_Test Item'
def tearDown(self):
frappe.db.rollback()
def check_planned_qty(self):
planned0 = frappe.db.get_value("Bin", {"item_code": "_Test FG Item",