test: Update account type in payroll payable account

(cherry picked from commit a54e0fe42b)
This commit is contained in:
Deepesh Garg
2022-02-09 13:44:14 +05:30
committed by mergify-bot
parent 988dee04fa
commit 65711dbde8

View File

@@ -124,7 +124,7 @@ class TestPayrollEntry(unittest.TestCase):
if not frappe.db.exists("Account", "_Test Payroll Payable - _TC"):
create_account(account_name="_Test Payroll Payable",
company="_Test Company", parent_account="Current Liabilities - _TC", account_type=None)
company="_Test Company", parent_account="Current Liabilities - _TC", account_type="Payable")
if not frappe.db.get_value("Company", "_Test Company", "default_payroll_payable_account") or \
frappe.db.get_value("Company", "_Test Company", "default_payroll_payable_account") != "_Test Payroll Payable - _TC":