Skip to content

CDMS 146 IUU decision process #237

CDMS 146 IUU decision process

CDMS 146 IUU decision process #237

Triggered via pull request January 16, 2025 10:49
Status Failure
Total duration 3m 47s
Artifacts

check-pull-request.yml

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

Annotations

10 errors and 1 warning
Btms.Backend.IntegrationTests.DecisionTests.Mrn24Gbde3Cf94H96Tar0Tests.ShouldHaveDecisionStatus: Btms.Backend.IntegrationTests/DecisionTests/Mrn24Gbde3Cf94H96Tar0Tests.cs#L135
Expected Client.GetSingleMovement().AlvsDecisionStatus.Context.DecisionComparison!.DecisionStatus to be DecisionStatusEnum.BtmsMadeSameDecisionAsAlvs {value: 0}, but found DecisionStatusEnum.NoAlvsDecisions {value: 5}.
Btms.Backend.IntegrationTests.DecisionTests.Mrn24Gbde3Cf94H96Tar0Tests.ShouldHaveCorrectAlvsDecisionMatchedStatusAtGlobalLevel: Btms.Backend.IntegrationTests/DecisionTests/Mrn24Gbde3Cf94H96Tar0Tests.cs#L50
Expected Client.GetSingleMovement().AlvsDecisionStatus.Context.DecisionComparison!.DecisionMatched to be True, but found False.
Btms.Backend.IntegrationTests.DecisionTests.Mrn24Gbde3Cf94H96Tar0Tests.ShouldHaveCorrectAuditTrail: Btms.Backend.IntegrationTests/DecisionTests/Mrn24Gbde3Cf94H96Tar0Tests.cs#L109
Expected Client.GetSingleMovement().AuditEntries.Select(a => (a.CreatedBy, a.Status, a.Version)) to be equal to { { Item1 = CreatedBySystem.Cds {value: 3}, Item2 = "Created", Item3 = 1 }, { Item1 = CreatedBySystem.Btms {value: 0}, Item2 = "Linked", Item3 = <null> }, { Item1 = CreatedBySystem.Btms {value: 0}, Item2 = "Decision", Item3 = 1 }, { Item1 = CreatedBySystem.Alvs {value: 2}, Item2 = "Decision", Item3 = 1 }, { Item1 = CreatedBySystem.Alvs {value: 2}, Item2 = "Decision", Item3 = 2 } }, but { { Item1 = CreatedBySystem.Cds {value: 3}, Item2 = "Created", Item3 = 1 }, { Item1 = CreatedBySystem.Btms {value: 0}, Item2 = "Linked", Item3 = <null> }, { Item1 = CreatedBySystem.Alvs {value: 2}, Item2 = "Decision", Item3 = 1 }, { Item1 = CreatedBySystem.Alvs {value: 2}, Item2 = "Decision", Item3 = 2 } } contains 1 item(s) less.
Btms.Backend.IntegrationTests.DecisionTests.Mrn24Gbde3Cf94H96Tar0Tests.AlvsDecisionShouldHaveCorrectChecks: Btms.Backend.IntegrationTests/DecisionTests/Mrn24Gbde3Cf94H96Tar0Tests.cs#L178
Expected Client.GetSingleMovement().AlvsDecisionStatus.Context.DecisionComparison!.Checks to be a collection with 1 item(s), but found an empty collection. With configuration: - Use declared types and members - Compare enums by value - Compare tuples by their properties - Compare anonymous types by their properties - Compare records by their members - Include non-browsable members - Include all non-private properties - Include all non-private fields - Match member by name (or throw) - Be strict about the order of items in byte arrays - Without automatic conversion.
Btms.Backend.IntegrationTests.DecisionTests.Mrn24Gbde3Cf94H96Tar0Tests.ShouldHaveDecisionMatched: Btms.Backend.IntegrationTests/DecisionTests/Mrn24Gbde3Cf94H96Tar0Tests.cs#L126
Expected var movement = Client.GetSingleMovement().AlvsDecisionStatus.Context!.DecisionComparison!.DecisionMatched to be True, but found False.
Btms.Backend.IntegrationTests.DecisionTests.ChedPUpdatedNotificationTests.LastBtmsDecisionShouldHaveCorrectAuditEntry: Btms.Backend.IntegrationTests/DecisionTests/ChedPUpdatedNotificationTests.cs#L113
Expected decisionWithLinkAndContext.Context!.ImportNotifications!.Select(n => (n.Id, n.Version)) to be equal to { { Item1 = "CHEDP.GB.2025.000116000001", Item2 = 2 } }, but found empty collection.
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