Test Case #:284#428 | Test Case Name: Supply Lines |
System: OpenLMIS | Subsystem: requisition |
Test case designed by: Paulina Borowa | Design Date:22.07.2016 |
Short description: Allows addition of new and editing of existing supply lines |
|
Pre – conditions: |
"id": "a480e3e8-c459-4040-844a-0bc0933774d8",
""supervisoryNode":{"id":"abeeb7a4-b3bd-4c58-b41d-102e2dacec1c","code": "supervisoryN","name": "Nodes","description": null,"supervisorCount": "2"}, "program":{"id":"c4dc0f30-7c18-491f-8d8a-44d68c458a72", "code":"Progr","showNonFullSupplyTab":true,"skippable":false}, "supplyingFacility":{"id":"b4302eda-7b65-46e3-89fb-4fdf1f298da6","code":"facilities1", |
"geographicZone":{"id":"306c2842-3591-47c6-8276-af3efd8d2657","code": "GeoZon", "name": null, "catchmentPopulation": null, "latitude": null, "longitude": null}, "type":{"id":"dc806241-1ee6-4c16-bdf9-8f628f8df005", "code": "facilityT1", "name": null, "description": null, "displayOrder": null, "active": null}, |
"active":true, |
"enabled":false} } | Status: 201 created, |
SupplyLines id:"a480e3e8-c459-4040-844a-0bc0933774d8" | |||
12 | Edit existing supplyLines and check if it's confirmed (for example change program values) Method: Post: Body: { "id": "a480e3e8-c459-4040-844a-0bc0933774d8", "supervisoryNode":{"id":"6a711103-5bd7-4d6b-bb64-faee481bca10","code": "supeRRN","name": "Nodess","description": null,"supervisorCount": "23"}, "program":{"id":"6ed06dab-7dd4-44ec-ae11-8f21c82f3b4f", "code":"Apppp","showNonFullSupplyTab":true,"skippable":false}, "supplyingFacility":{"id":"b4302eda-7b65-46e3-89fb-4fdf1f298da6","code":"facilities1", "geographicZone":{"id":"3b1d7e2d-173e-4475-a7f3-7b9e2e14b78f","code": "Zon","name": null,"catchmentPopulation": null,"latitude": null,"longitude": null}, "type":{"id":"dc806241-1ee6-4c16-bdf9-8f628f8df005", "code": "facilityT1","name": null,"description": null,"displayOrder": null,"active": null}, "active":true, "enabled":false} }
| Status 201 created,
|
Post – conditions:
|