commit | 47c78a5a7324cdea5fde7f4e269c933572ccaf56 | [log] [tgz] |
---|---|---|
author | Gursheen Anand <gursheen@frappe.io> | Tue Dec 05 12:48:25 2023 +0530 |
committer | Gursheen Anand <gursheen@frappe.io> | Tue Dec 05 12:48:25 2023 +0530 |
tree | d256f2830c04bb91e4618ff1552bbdfa39f59363 | |
parent | 24ccb3eb78f2bf88efed26e268039c38e6baf536 [diff] |
fix: check for unmerged gle in purchase receipt test
diff --git a/erpnext/stock/doctype/purchase_receipt/test_purchase_receipt.py b/erpnext/stock/doctype/purchase_receipt/test_purchase_receipt.py index 146cbff..e418aad 100644 --- a/erpnext/stock/doctype/purchase_receipt/test_purchase_receipt.py +++ b/erpnext/stock/doctype/purchase_receipt/test_purchase_receipt.py
@@ -990,7 +990,7 @@ gl_entries = get_gl_entries("Purchase Receipt", pr.name) sl_entries = get_sl_entries("Purchase Receipt", pr.name) - self.assertFalse(gl_entries) + self.assertEqual(len(gl_entries), 2) expected_sle = {"Work In Progress - TCP1": -5, "Stores - TCP1": 5}