From 000d1c979714d53013b7e74b00063da4de1ed632 Mon Sep 17 00:00:00 2001 From: plockwood Date: Mon, 6 Nov 2023 15:34:05 +0000 Subject: [PATCH 1/2] Made all values null as dev data through an exception with missing values --- Dfe.Academies.Domain/Trust/Trust.cs | 32 ++++++++++++++--------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/Dfe.Academies.Domain/Trust/Trust.cs b/Dfe.Academies.Domain/Trust/Trust.cs index e9b504a4b..b87af4a83 100644 --- a/Dfe.Academies.Domain/Trust/Trust.cs +++ b/Dfe.Academies.Domain/Trust/Trust.cs @@ -9,22 +9,22 @@ public class Trust public long? Region { get; set; } public long? TrustBanding { get; set; } public long? FK_TrustStatus { get; set; } - public string GroupUID { get; set; } - public string GroupID { get; set; } + public string? GroupUID { get; set; } + public string? GroupID { get; set; } public string? RID { get; set; } - public string Name { get; set; } - public string CompaniesHouseNumber { get; set; } + public string? Name { get; set; } + public string? CompaniesHouseNumber { get; set; } public DateTime? ClosedDate { get; set; } - public string TrustStatus { get; set; } + public string? TrustStatus { get; set; } public DateTime? JoinedDate { get; set; } public string? MainPhone { get; set; } - public string AddressLine1 { get; set; } + public string? AddressLine1 { get; set; } public string? AddressLine2 { get; set; } public string? AddressLine3 { get; set; } - public string Town { get; set; } + public string? Town { get; set; } public string? County { get; set; } - public string Postcode { get; set; } - public string PrioritisedForReview { get; set; } + public string? Postcode { get; set; } + public string? PrioritisedForReview { get; set; } public string? CurrentSingleListGrouping { get; set; } public DateTime? DateOfGroupingDecision { get; set; } public DateTime? DateEnteredOntoSingleList { get; set; } @@ -34,17 +34,17 @@ public class Trust public DateTime? DateActionPlannedFor { get; set; } public string? WIPSummaryGoesToMinister { get; set; } public DateTime? ExternalGovernanceReviewDate { get; set; } - public string EfficiencyICFPReviewCompleted { get; set; } + public string? EfficiencyICFPReviewCompleted { get; set; } public string? EfficiencyICFPReviewOther { get; set; } - public string LinkToWorkplaceForEfficiencyICFPReview { get; set; } + public string? LinkToWorkplaceForEfficiencyICFPReview { get; set; } public int? NumberInTrust { get; set; } public DateTime? Modified { get; set; } - public string ModifiedBy { get; set; } - public string AMSDTerritory { get; set; } - public string LeadAMSDTerritory { get; set; } - public string UKPRN { get; set; } + public string? ModifiedBy { get; set; } + public string? AMSDTerritory { get; set; } + public string? LeadAMSDTerritory { get; set; } + public string? UKPRN { get; set; } public DateTime? TrustPerformanceAndRiskDateOfMeeting { get; set; } - public string UPIN { get; set; } + public string? UPIN { get; set; } public DateTime? IncorporatedOnOpenDate { get; set; } public TrustType TrustType { get; set; } From edc5f451ea66af16ee31a69f7f1abb265b6a0ab1 Mon Sep 17 00:00:00 2001 From: plockwood Date: Tue, 7 Nov 2023 15:01:28 +0000 Subject: [PATCH 2/2] integration test settings revert --- TramsDataApi.Test/integration_settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TramsDataApi.Test/integration_settings.json b/TramsDataApi.Test/integration_settings.json index 5ac64b40d..474285f2c 100644 --- a/TramsDataApi.Test/integration_settings.json +++ b/TramsDataApi.Test/integration_settings.json @@ -9,6 +9,6 @@ "AllowedHosts": "*", "ApiKeys": ["{\"userName\": \"Test User\", \"apiKey\": \"testing-api-key\"}"], "ConnectionStrings": { - "DefaultConnection": "Server=127.0.0.1,1434;Database=sip;User Id=sa;TrustServerCertificate=True;Password=StrongPassword905" + "DefaultConnection": "Server=127.0.0.1,1433;Database=sip;User Id=sa;TrustServerCertificate=True;Password=StrongPassword905" } } \ No newline at end of file