Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Many tests failing due to date changes with the new year - none of them are bugs. Just fixes in the test data
1. Leave Ledger tests
Skip weekly offs in the test holiday list created in Leave Ledger tests for deterministic results. Weekly off dates will vary every year, testing against dynamic holiday list isn't necessary for leave ledger
Test Failure Traceback
2. Salary Slip test -
test_payment_days_calculation_for_varying_leave_ranges
Renamed for clarity -
test_payment_days_calculation_for_varying_leave_ranges
->test_payment_days_calculation_for_lwp_on_month_boundaries
fix: set correct holiday list
Test Failure Traceback
3. Salary Withholding test -
test_set_withholding_cycles_and_to_date
refactor: use consistent dates in all salary withholding tests
Test Failure Traceback
4. Loan tests
Loan tests failing with error
Party Type and Party can only be set for Receivable / Payable account<br><br>Loan Account - _TC
after a recent validation in erpnext core.Can't find the source of this fixture creation in ERPNext. Fix needed in lending/erpnext