diff --git a/erpnext/stock/doctype/stock_entry/test_stock_entry.py b/erpnext/stock/doctype/stock_entry/test_stock_entry.py index 085d215e75..23dacc8343 100644 --- a/erpnext/stock/doctype/stock_entry/test_stock_entry.py +++ b/erpnext/stock/doctype/stock_entry/test_stock_entry.py @@ -517,14 +517,7 @@ class TestStockEntry(FrappeTestCase): self.check_gl_entries( "Stock Entry", repack.name, - sorted( - [ - ["Cost of Goods Sold - TCP1", 0.0, 1200.0], - ["Stock Adjustment - TCP1", 0.0, 1200.0], - ["Stock Adjustment - TCP1", 1200.0, 0.0], - [stock_in_hand_account, 1200.0, 0.0], - ] - ), + sorted([[stock_in_hand_account, 1200, 0.0], ["Cost of Goods Sold - TCP1", 0.0, 1200.0]]), ) def check_stock_ledger_entries(self, voucher_type, voucher_no, expected_sle):