1334: Refactor Requisition code to check if facility supports program
Test Case #:1334 | Test Case Name: Refactor Requisition code to check if facility supports program |
System: OpenLMIS | Subsystem: blue |
Test case designed by: Anna Czyrko | Design Date:04.01.2017 |
Short description:
|
|
Pre – conditions: |
Step | Action | Expected system response | Comment |
1 | GO to swagger: http://test.openlmis.org/referencedata/docs/ GET /api/users/{userId}/supervisedFacilities |
| |
2 | PUT /api/facilities/{id} Supported program - essential meds | ||
3 | facility - now it has only one supported program: Essential Meds, now I try to initiate requisition, which Family Planning program - I should not be able to initiate or submit that requisition because Family Planning is not supported Program. |
OpenLMIS: the global initiative for powerful LMIS software