mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
refactor(test): filter on document names
(cherry picked from commit 080aa30407)
This commit is contained in:
@@ -1379,6 +1379,8 @@ class TestPaymentEntry(FrappeTestCase):
|
|||||||
pr.party = "_Test Customer"
|
pr.party = "_Test Customer"
|
||||||
pr.receivable_payable_account = si.debit_to
|
pr.receivable_payable_account = si.debit_to
|
||||||
pr.default_advance_account = advance_account
|
pr.default_advance_account = advance_account
|
||||||
|
pr.payment_name = pe.name
|
||||||
|
pr.invoice_name = si.name
|
||||||
pr.get_unreconciled_entries()
|
pr.get_unreconciled_entries()
|
||||||
|
|
||||||
self.assertEqual(len(pr.invoices), 1)
|
self.assertEqual(len(pr.invoices), 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user