CDMS-200 add test for movement not found #69
check-pull-request.yml
on: pull_request
Run Pull Request Checks
2m 12s
Annotations
5 errors and 1 warning
Btms.Analytics.Tests.ImportNotificationsByCommoditiesTests.WhenCalledLastWeek_ReturnExpectedAggregation:
Btms.Analytics.Tests/ImportNotificationsByCommoditiesTests.cs#L31
Expected result to contain only items satisfying the inspector:
At index 0:
Did not expect r.Results.Count() to be 0
At index 1:
Did not expect r.Results.Count() to be 0
At index 2:
Did not expect r.Results.Count() to be 0
At index 3:
Did not expect r.Results.Count() to be 0
At index 4:
Did not expect r.Results.Count() to be 0
At index 5:
Did not expect r.Results.Count() to be 0
At index 6:
Did not expect r.Results.Count() to be 0
At index 7:
Did not expect r.Results.Count() to be 0
|
Btms.Analytics.Tests.MovementHistoryTests.WhenCalled_ReturnsHistory:
Btms.Analytics.Tests/MovementHistoryTests.cs#L24
System.NullReferenceException : Object reference not set to an instance of an object.
|
Btms.Analytics.Tests.MovementsByDecisionsTests.WhenCalled_ReturnExpectedAggregation:
Btms.Analytics.Tests/MovementsByDecisionsTests.cs#L28
Expected result.Count to be 2, but found 0 (difference of -2).
|
Btms.Analytics.Tests.MovementsByUniqueDocumentReferenceTests.WhenCalledLastWeek_ReturnExpectedAggregation:
Btms.Analytics.Tests/MovementsByUniqueDocumentReferenceTests.cs#L31
Expected result to contain only items satisfying the inspector:
At index 1:
Expected d.Results.Sum(r => r.Value) to be greater than 0, but found 0
|
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
|