CDMS-215 adds tests for alvs decisions arriving before btms decisions, and fixed an issue with the pairing not working in this case #404
check-pull-request.yml
on: pull_request
Run Pull Request Checks
5m 40s
Annotations
10 errors and 2 warnings
TestDataGenerator.Tests.ScenarioTests.EnsureAllScenarioDefaultsAreValid(scenarioType: typeof(TestDataGenerator.Scenarios.SpecificFiles.Mrn24Gbde3Cf94H96Tar0ModifiedScenarioGenerator)):
TestDataGenerator.Tests/ScenarioTests.cs#L32
System.InvalidOperationException : Either need to specify the scenarioPath in the constructor, or ovrride the generate function.
|
Btms.Backend.IntegrationTests.DecisionTests.ChedPUpdatedNotificationTests.ShouldHaveCorrectAuditEntries:
Btms.Backend.IntegrationTests/DecisionTests/ChedPUpdatedNotificationTests.cs#L41
Expected movement.AuditEntries.Select(a => (a.CreatedBy, a.Status, a.Version, (a.Context as DecisionContext)?.ImportNotifications?.FirstOrDefault()?.Version)) to be equal to
{
{
Item1 = CreatedBySystem.Cds {value: 3},
Item2 = "Created",
Item3 = 1,
Item4 = <null>
},
{
Item1 = CreatedBySystem.Btms {value: 0},
Item2 = "Decision",
Item3 = 1,
Item4 = <null>
},
{
Item1 = CreatedBySystem.Btms {value: 0},
Item2 = "Linked",
Item3 = <null>,
Item4 = <null>
},
{
Item1 = CreatedBySystem.Btms {value: 0},
Item2 = "Decision",
Item3 = 2,
Item4 = 1
},
{
Item1 = CreatedBySystem.Btms {value: 0},
Item2 = "Decision",
Item3 = 3,
Item4 = 2
},
{
Item1 = CreatedBySystem.Alvs {value: 2},
Item2 = "Decision",
Item3 = 1,
Item4 = <null>
}
}, but
{
{
Item1 = CreatedBySystem.Cds {value: 3},
Item2 = "Created",
Item3 = 1,
Item4 = <null>
},
{
Item1 = CreatedBySystem.Btms {value: 0},
Item2 = "Decision",
Item3 = 1,
Item4 = <null>
},
{
Item1 = CreatedBySystem.Btms {value: 0},
Item2 = "Linked",
Item3 = <null>,
Item4 = <null>
},
{
Item1 = CreatedBySystem.Btms {value: 0},
Item2 = "Decision",
Item3 = 2,
Item4 = 1
},
{
Item1 = CreatedBySystem.Alvs {value: 2},
Item2 = "Decision",
Item3 = 1,
Item4 = <null>
},
{
Item1 = CreatedBySystem.Btms {value: 0},
Item2 = "Decision",
Item3 = 3,
Item4 = 2
}
} differs at index 4.
|
Btms.Backend.IntegrationTests.DecisionTests.Mrn24Gbdyhi8Lmfldqar6Tests.ShouldHave1AlvsDecision:
Btms.Backend.IntegrationTests/DecisionTests/Mrn24Gbdyhi8Lmfldqar6Tests.cs#L84
Expected Client.GetSingleMovement().AlvsDecisionStatus.Decisions.Count to be 1, but found 0 (difference of -1).
|
Btms.Backend.IntegrationTests.DecisionTests.Mrn24Gbde3Cf94H96Tar0ModifiedTests.ShouldNotHaveExceptions
System.InvalidOperationException : Either need to specify the scenarioPath in the constructor, or ovrride the generate function.
|
Btms.Backend.IntegrationTests.DecisionTests.Mrn24Gbde3Cf94H96Tar0ModifiedTests.ShouldHaveDecisionMatched
System.InvalidOperationException : Either need to specify the scenarioPath in the constructor, or ovrride the generate function.
|
Btms.Backend.IntegrationTests.DecisionTests.Mrn24Gbde3Cf94H96Tar0ModifiedTests.ShouldHaveChedType
System.InvalidOperationException : Either need to specify the scenarioPath in the constructor, or ovrride the generate function.
|
Btms.Backend.IntegrationTests.DecisionTests.Mrn24Gbde3Cf94H96Tar0ModifiedTests.AlvsDecisionShouldHaveCorrectChecks
System.InvalidOperationException : Either need to specify the scenarioPath in the constructor, or ovrride the generate function.
|
Btms.Backend.IntegrationTests.DecisionTests.Mrn24Gbde3Cf94H96Tar0ModifiedTests.ShouldHaveCorrectDecisionAuditEntries
System.InvalidOperationException : Either need to specify the scenarioPath in the constructor, or ovrride the generate function.
|
Btms.Backend.IntegrationTests.DecisionTests.Mrn24Gbde3Cf94H96Tar0ModifiedTests.ShouldHave1BtmsDecision
System.InvalidOperationException : Either need to specify the scenarioPath in the constructor, or ovrride the generate function.
|
Btms.Backend.IntegrationTests.DecisionTests.Mrn24Gbde3Cf94H96Tar0ModifiedTests.ShouldHave2AlvsDecisions
System.InvalidOperationException : Either need to specify the scenarioPath in the constructor, or ovrride the generate function.
|
Run Pull Request Checks:
TestGenerator.IntegrationTesting.Backend/MultipleScenarioGeneratorBaseTest.cs#L11
Cannot convert null literal to non-nullable reference type.
|
Run Pull Request Checks:
TestGenerator.IntegrationTesting.Backend/MultipleScenarioGeneratorBaseTest.cs#L23
Non-nullable field 'LoadedData' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|