Skip to content

Commit

Permalink
test: multiline formula with circular dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ruchamahabal committed Aug 31, 2024
1 parent f95da27 commit 70cd388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hrms/payroll/doctype/salary_slip/test_salary_slip.py
Original file line number Diff line number Diff line change
Expand Up @@ -1663,7 +1663,7 @@ def test_circular_dependency_in_formula(self):
"abbr": "DD",
"type": "Deduction",
"amount_based_on_formula": 1,
"formula": "DE / 5",
"formula": "DE / 5\nif DE > 0\n else 0",
},
]
make_salary_component(deductions, False, company_list=[])
Expand Down

0 comments on commit 70cd388

Please sign in to comment.