test: Update account type in payroll payable account
(cherry picked from commit a54e0fe42b38f571396e88b3ebcc46fd3b389301)
This commit is contained in:
parent
988dee04fa
commit
65711dbde8
@ -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":
|
||||
|
Loading…
x
Reference in New Issue
Block a user