refactor(test): for ledger comparision report

(cherry picked from commit 639f427d6d31c7d018033c2110c478f8e6ea8ce4)
This commit is contained in:
ruthra kumar 2023-11-02 13:40:40 +05:30 committed by Mergify
parent 8d66848f9d
commit 796b1aa694

View File

@ -50,7 +50,11 @@ class TestGeneralAndPaymentLedger(FrappeTestCase, AccountsTestMixin):
self.assertEqual(len(data), 1)
expected = {
"company": sinv.company,
"account": sinv.debit_to,
"voucher_type": sinv.doctype,
"voucher_no": sinv.name,
"party_type": "Customer",
"party": sinv.customer,
"gl_balance": sinv.grand_total,
"pl_balance": sinv.grand_total - 1,