Test Case #:1077
Test Case Name: Associate emergency requisitions with a processing period | |
System: openLMIS | Subsystem: blue |
Test case designed by: Lucyna Laska | Design Date:14.11.2016 |
Short description: API: Acceptance Criteria
UI:
|
|
Pre – conditions: |
Step | Action | Expected system response | Comment |
1 | Find if it's possible to create an emergency requisition for:
Method: GET | Yes, it's possible. The one created period can be associated with emergency requisition. | |
2 | Initiate an emergency requisition when user has assigned proper role. | ||
3 | Initiate an emergency requisition when user does not have assigned proper role. | to update the user roles: URL: http://192.168.1.14/referencedata/api/users?access_token=0a211aa5-2864-4e00-be33-afa8cc70111c Method: PUT Body: { | |
4 | List all emergency requisitions. Method: GET | ||
5 | Try to initiate a few emergency requisition for the same period. URL: Method: POST | ||
6 | Try to delete the emergency requisition. URL: Method: DELETE | ||
7 |
Post – conditions: |