Feature/cdms-223 Decision Analytics & additional tests #197
check-pull-request.yml
on: pull_request
Run Pull Request Checks
2m 55s
Annotations
4 errors and 1 warning
Btms.Backend.IntegrationTests.DecisionTests.ChedPUpdatedNotificationTests.LastBtmsDecisionShouldHaveCorrectAuditEntry:
Btms.Backend.IntegrationTests/DecisionTests/ChedPUpdatedNotificationTests.cs#L107
System.NullReferenceException : Object reference not set to an instance of an object.
|
Btms.Backend.IntegrationTests.DecisionTests.ChedPUpdatedNotificationTests.ShouldHaveCorrectAuditEntries:
Btms.Backend.IntegrationTests/DecisionTests/ChedPUpdatedNotificationTests.cs#L40
Expected movement.AuditEntries.Select(a => (a.CreatedBy, a.Status, a.Version, a.Context?.ImportNotifications?.FirstOrDefault()?.Version)) to be equal to
{
{
Item1 = "Cds",
Item2 = "Created",
Item3 = 1,
Item4 = <null>
},
{
Item1 = "Btms",
Item2 = "Decision",
Item3 = 1,
Item4 = <null>
},
{
Item1 = "Btms",
Item2 = "Linked",
Item3 = <null>,
Item4 = <null>
},
{
Item1 = "Btms",
Item2 = "Decision",
Item3 = 2,
Item4 = 1
},
{
Item1 = "Alvs",
Item2 = "Decision",
Item3 = 1,
Item4 = <null>
},
{
Item1 = "Btms",
Item2 = "Decision",
Item3 = 3,
Item4 = 2
}
}, but
{
{
Item1 = "Cds",
Item2 = "Created",
Item3 = 1,
Item4 = <null>
},
{
Item1 = "Btms",
Item2 = "Decision",
Item3 = 1,
Item4 = <null>
},
{
Item1 = "Btms",
Item2 = "Linked",
Item3 = <null>,
Item4 = <null>
},
{
Item1 = "Btms",
Item2 = "Decision",
Item3 = 2,
Item4 = 1
},
{
Item1 = "Btms",
Item2 = "Decision",
Item3 = 3,
Item4 = 2
},
{
Item1 = "Alvs",
Item2 = "Decision",
Item3 = 1,
Item4 = <null>
}
} differs at index 4.
|
Btms.Backend.IntegrationTests.DecisionTests.Mrn24GBDEHMFC4WGXVAR7Tests.ShouldHaveCorrectAuditTrail:
Btms.Backend.IntegrationTests/DecisionTests/Mrn24GBDEHMFC4WGXVAR7Tests.cs#L118
Expected Client.GetSingleMovement().AuditEntries.Select(a => (a.CreatedBy, a.Status, a.Version)) to be equal to
{
{
Item1 = "Cds",
Item2 = "Created",
Item3 = 1
},
{
Item1 = "Btms",
Item2 = "Linked",
Item3 = <null>
},
{
Item1 = "Btms",
Item2 = "Decision",
Item3 = 1
},
{
Item1 = "Alvs",
Item2 = "Decision",
Item3 = 1
},
{
Item1 = "Btms",
Item2 = "Decision",
Item3 = 2
},
{
Item1 = "Alvs",
Item2 = "Decision",
Item3 = 2
},
{
Item1 = "Cds",
Item2 = "Updated",
Item3 = 2
},
{
Item1 = "Alvs",
Item2 = "Decision",
Item3 = 3
}
}, but
{
{
Item1 = "Cds",
Item2 = "Created",
Item3 = 1
},
{
Item1 = "Btms",
Item2 = "Linked",
Item3 = <null>
},
{
Item1 = "Btms",
Item2 = "Decision",
Item3 = 1
},
{
Item1 = "Cds",
Item2 = "Updated",
Item3 = 2
},
{
Item1 = "Btms",
Item2 = "Decision",
Item3 = 1
},
{
Item1 = "Alvs",
Item2 = "Decision",
Item3 = 1
},
{
Item1 = "Alvs",
Item2 = "Decision",
Item3 = 2
},
{
Item1 = "Alvs",
Item2 = "Decision",
Item3 = 3
}
} differs at index 3.
|
Run Pull Request Checks
Process completed with exit code 1.
|
Run Pull Request Checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|