mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 04:09:11 +00:00
test: added more assertions
This commit is contained in:
@@ -412,6 +412,9 @@ class TestSubcontractingReceipt(IntegrationTestCase):
|
|||||||
scr.save()
|
scr.save()
|
||||||
scr.submit()
|
scr.submit()
|
||||||
|
|
||||||
|
for item in scr.supplied_items:
|
||||||
|
self.assertTrue(item.expense_account)
|
||||||
|
|
||||||
gl_entries = get_gl_entries("Subcontracting Receipt", scr.name)
|
gl_entries = get_gl_entries("Subcontracting Receipt", scr.name)
|
||||||
self.assertTrue(gl_entries)
|
self.assertTrue(gl_entries)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user