1146: Fix broken requisition deletion
Test Case #:1146
Test Case Name: Fix broken requisition deletion | |
System: openLMIS | Subsystem: blue |
Test case designed by: Lucyna Laska | Design Date:28.10.2016 |
Short description: Requisition deletion fails on some sort of constraint violation. |
|
Pre – conditions: |
|
Step | Action | Expected system response | Comment |
Note: tested on SWAGGER UI, http://10.222.17.134/requisition/index.html#/ | |||
1 | Using demo data, try to delete the requisition with status INITIATED. id: 6167e65c-6f56-4aeb-bff5-fdfe84e01a21 access_token: 246a6d5a-0d93-45b4-bf67-eb4a991b92a4 | Requisition has been deleted successfully. | |
2 | Using demo data, try to delete the requisition with status SUBMITTED. id: 276353fb-970f-4638-8ead-3e97c9450aa3 access_token: 6ce505a5-1460-46d7-9ede-f587a02e6002 | Requisition can not be deleted. Only requisition with status INITIATED can be removed from database | |
3 | Using demo data, try to delete the requisition with status AUTHORIZED. id: 074a49af-12c3-429f-b5da-ed3f9e65787c access_token: 246a6d5a-0d93-45b4-bf67-eb4a991b92a4 |
| |
4 | Using demo data, try to delete the requisition with status APPROVED. id: 21d138bc-f2c2-4188-adf3-a3aae381abde access_token: 246a6d5a-0d93-45b4-bf67-eb4a991b92a4 | Requisition can not be deleted. Only requisition with status INITIATED can be removed from database | |
5 | Using demo data, try to delete the requisition with status SKIPPED. id: 122508c9-f77b-4401-8dd7-00272c7f7919 access_token: 246a6d5a-0d93-45b4-bf67-eb4a991b92a4 | Requisition can not be deleted. Only requisition with status INITIATED can be removed from database | |
6 | Using demo data, try to delete the requisition with status RELEASED. id: f152b9bb-c1e2-40b6-b381-28d739208662 access_token: 246a6d5a-0d93-45b4-bf67-eb4a991b92a4 | Requisition can not be deleted. Only requisition with status INITIATED can be removed from database | |
7 | |||
8 |
Post – conditions: |
OpenLMIS: the global initiative for powerful LMIS software