Test Case #:1156 | Test Case Name: RequisitionLineCalculationService initiate beginning balance gets wrong previous period |
System: OpenLMIS | Subsystem: blue |
Test case designed by: Anna Czyrko | Design Date: 09.11.2016 |
Short description: The initateBeginningBalance method in this service gets a list of periods earlier than the requisition's period start date (previous periods), takes the first one in the list, and assumes it is the most recent previous period. This assumption seems to be incorrect, as the external call orders the previous periods by start date ascending. So the first one in the list would be least recent previous period. Acceptance criteria:
Test
|
|
Pre – conditions: |
Step
Action | Expected system response | Comment | |
1 |
| ||
2 | |||
3 | |||
4 | |||
5 | |||
6 | |||
7 | |||
8 | |||
9 | |||
10 | |||
11 |