Skip to content

Feature/cdms-223 Decision Analytics & additional tests #197

Feature/cdms-223 Decision Analytics & additional tests

Feature/cdms-223 Decision Analytics & additional tests #197

Triggered via pull request January 10, 2025 15:59
Status Failure
Total duration 3m 3s
Artifacts

check-pull-request.yml

on: pull_request
Run Pull Request Checks
2m 55s
Run Pull Request Checks
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
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