chore: change account name

(cherry picked from commit 4a1cd5a8d6)
This commit is contained in:
sudarsan2001
2024-11-14 10:59:51 +05:30
committed by Mergify
parent c30a17cd7a
commit 7cc31df587

View File

@@ -962,7 +962,7 @@ class TestPaymentEntry(FrappeTestCase):
save_new_records(self.globalTestRecords["Currency Exchange"])
paid_from = create_account(
parent_account="Current Liabilities - _TC",
account_name="Cash USD",
account_name="_Test Cash USD",
company="_Test Company",
account_type="Cash",
account_currency="USD",
@@ -995,10 +995,9 @@ class TestPaymentEntry(FrappeTestCase):
.run()
)
expected_gl_entries = (
("_Test Payable USD - _TC", 8440.0, 0, 100.0, 0.0, 8440.0, 0.0),
(paid_from, 0, 8440.0, 0, 100.0, 0, 8440.0),
(paid_from, 0.0, 8440.0, 0.0, 100.0, 0.0, 8440.0),
("_Test Payable USD - _TC", 8440.0, 0.0, 100.0, 0.0, 8440.0, 0.0),
)
self.assertEqual(gl_entries, expected_gl_entries)
def test_multi_currency_payment_entry_with_taxes(self):