Had the situation whereby initial test transactions were passed and the fiscal year was set.
Fixed it by using system console and following transactions
frappe.db.set_value("Fiscal Year", "2022", "year_end_date", "2022-03-30")
log(frappe.db.get_value("Fiscal Year", "2022", "year_end_date"))