Skip to content

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

Feature/cdms-223 Decision Analytics & additional tests

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

Triggered via pull request January 12, 2025 07:10
Status Failure
Total duration 3m 28s
Artifacts

check-pull-request.yml

on: pull_request
Run Pull Request Checks
3m 19s
Run Pull Request Checks
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
Btms.Backend.IntegrationTests.DecisionTests.Mrn24GBDEEA43OY1CQAR7Tests.ShouldHaveCorrectAuditTrail: Btms.Backend.IntegrationTests/DecisionTests/Mrn24GBDEEA43OY1CQAR7Tests.cs#L106
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 = "Cds", Item2 = "Updated", Item3 = 2 }, { Item1 = "Alvs", Item2 = "Decision", Item3 = 1 }, { Item1 = "Alvs", Item2 = "Decision", Item3 = 2 } }, 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 = 2 }, { Item1 = "Alvs", Item2 = "Decision", Item3 = 2 }, { Item1 = "Alvs", Item2 = "Decision", Item3 = 1 } } contains 1 item(s) too many.
Btms.Backend.IntegrationTests.DecisionTests.Mrn24GBDDJER3ZFRMZAR9Tests.ShouldHaveCorrectAuditTrail: Btms.Backend.IntegrationTests/DecisionTests/Mrn24GBDDJER3ZFRMZAR9Tests.cs#L119
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 = "Linked", Item3 = <null> }, { Item1 = "Btms", Item2 = "Linked", Item3 = <null> }, { Item1 = "Btms", Item2 = "Linked", Item3 = <null> }, { Item1 = "Btms", Item2 = "Linked", Item3 = <null> }, { Item1 = "Btms", Item2 = "Linked", Item3 = <null> }, { Item1 = "Btms", Item2 = "Linked", Item3 = <null> }, { Item1 = "Btms", Item2 = "Linked", Item3 = <null> }, { Item1 = "Btms", Item2 = "Linked", Item3 = <null> }, { Item1 = "Btms", Item2 = "Decision", Item3 = 1 }, { Item1 = "Cds", Item2 = "Updated", Item3 = 2 }, { Item1 = "Alvs", Item2 = "Decision", Item3 = 1 } }, but { { Item1 = "Cds", Item2 = "Created", Item3 = 1 }, { Item1 = "Cds", Item2 = "Updated", Item3 = 2 }, { Item1 = "Btms", Item2 = "Linked", Item3 = <null> }, { Item1 = "Btms", Item2 = "Linked", Item3 = <null> }, { Item1 = "Btms", Item2 = "Linked", Item3 = <null> }, { Item1 = "Btms", Item2 = "Linked", Item3 = <null> }, { Item1 = "Btms", Item2 = "Linked", Item3 = <null> }, { Item1 = "Btms", Item2 = "Linked", Item3 = <null> }, { Item1 = "Btms", Item2 = "Linked", Item3 = <null> }, { Item1 = "Btms", Item2 = "Linked", Item3 = <null> }, { Item1 = "Btms", Item2 = "Linked", Item3 = <null> }, { Item1 = "Btms", Item2 = "Decision", Item3 = 1 }, { Item1 = "Alvs", Item2 = "Decision", Item3 = 1 } } differs at index 1.
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 = 2 }, { Item1 = "Alvs", Item2 = "Decision", Item3 = 1, Item4 = <null> } } contains 1 item(s) less.
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 = "Cds", Item2 = "Updated", Item3 = 2 }, { Item1 = "Btms", Item2 = "Linked", Item3 = <null> }, { Item1 = "Btms", Item2 = "Decision", Item3 = 1 }, { Item1 = "Alvs", Item2 = "Decision", Item3 = 1 }, { Item1 = "Alvs", Item2 = "Decision", Item3 = 2 }, { Item1 = "Alvs", Item2 = "Decision", Item3 = 3 } } contains 1 item(s) less.
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