From 57886a679c8e4b81c3402a98bda252579babf772 Mon Sep 17 00:00:00 2001 From: Zach Hodges Date: Thu, 3 Oct 2024 12:09:14 +0100 Subject: [PATCH] wip - failing cypress test --- .../Project/Tasks/OfstedInspectionTask.cs | 2 +- .../EditOfstedPreRegistrationAfterTask.cshtml.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects.API.Contracts/Project/Tasks/OfstedInspectionTask.cs b/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects.API.Contracts/Project/Tasks/OfstedInspectionTask.cs index a8017a81d..984208ac6 100644 --- a/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects.API.Contracts/Project/Tasks/OfstedInspectionTask.cs +++ b/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects.API.Contracts/Project/Tasks/OfstedInspectionTask.cs @@ -14,7 +14,7 @@ public class OfstedInspectionTask public bool? SharedOutcomeWithTrust { get; set; } - public YesNoNotApplicable InspectionConditionsMet { get; set; } + public YesNoNotApplicable? InspectionConditionsMet { get; set; } public bool? ProposedToOpenOnGias { get; set; } diff --git a/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/Pages/Project/Tasks/OfstedPreRegistration/EditOfstedPreRegistrationAfterTask.cshtml.cs b/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/Pages/Project/Tasks/OfstedPreRegistration/EditOfstedPreRegistrationAfterTask.cshtml.cs index 2caf4708e..514c08c45 100644 --- a/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/Pages/Project/Tasks/OfstedPreRegistration/EditOfstedPreRegistrationAfterTask.cshtml.cs +++ b/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/Pages/Project/Tasks/OfstedPreRegistration/EditOfstedPreRegistrationAfterTask.cshtml.cs @@ -27,7 +27,7 @@ public class EditOfstedPreRegistrationAfterTaskModel( public bool? SharedOutcomeWithTrust { get; set; } [BindProperty(Name = "inspection-conditions-met")] - public YesNoNotApplicable InspectionConditionsMet { get; set; } + public YesNoNotApplicable? InspectionConditionsMet { get; set; } [BindProperty(Name = "proposed-to-open-on-gias")] public bool? ProposedToOpenOnGias { get; set; }