test: fix syntax error
This commit is contained in:
parent
514122bf6f
commit
6727792aaf
@ -246,7 +246,7 @@ class TestSalarySlip(unittest.TestCase):
|
||||
make_salary_structure("Test Loan Repayment Salary Structure", "Monthly", employee=applicant, currency='INR',
|
||||
payroll_period=payroll_period)
|
||||
|
||||
frappe.db.sql("""delete from `tabLoan""")
|
||||
frappe.db.sql("delete from tabLoan")
|
||||
loan = create_loan(applicant, "Car Loan", 11000, "Repay Over Number of Periods", 20, posting_date=add_months(nowdate(), -1))
|
||||
loan.repay_from_salary = 1
|
||||
loan.submit()
|
||||
|
Loading…
x
Reference in New Issue
Block a user