Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{

return new UserCaseInfo(GetTitle(summary),
getSystemLinks.GetCompleteTitleLink(summary.ProjectId.Value.ToString()),

Check warning on line 15 in src/Dfe.CaseAggregationService.Application/Services/Builders/GetCaseInfoFromCompleteSummary.cs

View workflow job for this annotation

GitHub Actions / Build, Test and Analyse

Nullable value type may be null.
System,
summary.CaseType.ToDescription(),
summary.CreatedDate ?? DateTime.MinValue,
Expand Down Expand Up @@ -49,7 +49,7 @@
{
if (summary.CaseType is CompleteProjectType.Conversion or CompleteProjectType.FormAMatConversion)
{
yield return new CaseInfoItem("Current confirmed conversion date",
yield return new CaseInfoItem("Current conversion date",
summary.ProposedTransferDate.HasValue
? summary.ProposedTransferDate.Value.ToString("dd/MM/yyyy")
: "", null);
Expand All @@ -59,7 +59,7 @@

if (summary.CaseType is CompleteProjectType.Transfer or CompleteProjectType.FormAMatTransfer)
{
yield return new CaseInfoItem("Current confirmed transfer date",
yield return new CaseInfoItem("Current transfer date",
summary.ProposedTransferDate.HasValue
? summary.ProposedTransferDate.Value.ToString("dd/MM/yyyy")
: "", null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public async Task<IEnumerable<CompleteSummary>> GetCompleteSummaryForUser(string
GetProjectType(x.ProjectType, x.IsFormAMat),
x.SchoolOrAcademyName ?? "",
x.Urn?.ToString() ?? "",
x.CompletionDate,
x.ConversionOrTransferDate,
x.IncomingTrustName ?? "",
x.OutgoingTrustName ?? "",
x.LocalAuthority ?? "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void GivenTransferReturnCaseInfo()
Assert.Empty(result.Resources);
var info = result.Info.ToArray();

info[0].ShouldBe("Current confirmed transfer date", "08/09/2010");
info[0].ShouldBe("Current transfer date", "08/09/2010");
info[1].ShouldBe("Incoming trust", "Incoming Trust name");
info[2].ShouldBe("Outgoing trust", "Outgoing Trust name");
info[3].ShouldBe("LA", "Local Authority");
Expand Down Expand Up @@ -95,7 +95,7 @@ public void GivenConversionReturnCaseInfo()
Assert.Empty(result.Resources);
var info = result.Info.ToArray();

info[0].ShouldBe("Current confirmed conversion date", "08/09/2010");
info[0].ShouldBe("Current conversion date", "08/09/2010");
info[1].ShouldBe("Name", "Incoming Trust name");
info[2].ShouldBe("LA", "Local Authority");
}
Expand Down
Loading