mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 10:11:20 +00:00
refactor(test): for ledger comparision report
(cherry picked from commit 639f427d6d)
This commit is contained in:
@@ -50,7 +50,11 @@ class TestGeneralAndPaymentLedger(FrappeTestCase, AccountsTestMixin):
|
|||||||
self.assertEqual(len(data), 1)
|
self.assertEqual(len(data), 1)
|
||||||
|
|
||||||
expected = {
|
expected = {
|
||||||
|
"company": sinv.company,
|
||||||
|
"account": sinv.debit_to,
|
||||||
|
"voucher_type": sinv.doctype,
|
||||||
"voucher_no": sinv.name,
|
"voucher_no": sinv.name,
|
||||||
|
"party_type": "Customer",
|
||||||
"party": sinv.customer,
|
"party": sinv.customer,
|
||||||
"gl_balance": sinv.grand_total,
|
"gl_balance": sinv.grand_total,
|
||||||
"pl_balance": sinv.grand_total - 1,
|
"pl_balance": sinv.grand_total - 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user