Feature/cdms-223 Decision Analytics & additional tests #200
check-pull-request.yml
on: pull_request
Run Pull Request Checks
3m 19s
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.Mrn24GBDEEA43OY1CQAR7Tests.ShouldHave1BtmsDecision:
Btms.Backend.IntegrationTests/DecisionTests/Mrn24GBDEEA43OY1CQAR7Tests.cs#L59
Expected Client.GetSingleMovement().Decisions.Count to be 1, but found 2.
|
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.LastBtmsDecisionShouldHaveCorrectAuditEntry:
Btms.Backend.IntegrationTests/DecisionTests/ChedPUpdatedNotificationTests.cs#L95
System.InvalidOperationException : Sequence contains no matching element
|
Btms.Backend.IntegrationTests.DecisionTests.ChedPUpdatedNotificationTests.ShouldHave3BtmsDecisions:
Btms.Backend.IntegrationTests/DecisionTests/ChedPUpdatedNotificationTests.cs#L64
Expected movement.Decisions.Count to be 3, but found 2.
|
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.
|
Btms.Backend.IntegrationTests.DecisionTests.Mrn24GBDEHMFC4WGXVAR7Tests.ShouldHave2BtmsDecisions:
Btms.Backend.IntegrationTests/DecisionTests/Mrn24GBDEHMFC4WGXVAR7Tests.cs#L69
Expected Client.GetSingleMovement().Decisions.Count to be 2, but found 1.
|
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
|