Skip to content

Commit

Permalink
Merge pull request resilient-tech#1961 from resilient-tech/mergify/bp…
Browse files Browse the repository at this point in the history
…/version-14-hotfix/pr-1960

test: Create fiscal year in Purchase Reconciliation Tool test case (backport resilient-tech#1960)
  • Loading branch information
mergify[bot] authored Apr 1, 2024
2 parents 5b9814c + 0bd5441 commit bd427c2
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,16 @@ class TestPurchaseReconciliationTool(FrappeTestCase):
def setUpClass(cls):
super().setUpClass()

# create 2023-2024 fiscal year
fiscal_year = frappe.new_doc("Fiscal Year")
fiscal_year.update(
{
"year_start_date": "2023-04-01",
"year_end_date": "2024-03-31",
"year": "2023-2024",
}
).insert(ignore_if_duplicate=True)

cls.test_data = frappe.get_file_json(
frappe.get_app_path(
"india_compliance",
Expand Down

0 comments on commit bd427c2

Please sign in to comment.