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