Skip to end of metadata
Go to start of metadata
Test Case #:230 | Test Case Name: |
System: OpenLMIS
| Subsystem:Requisition |
Test case designed by: Piotr Żurawski | Design Date:25.07.2016 |
Short description: Check possibility to Edit Program code and name | |
Step | Action | Expected system response | Comment |
1 | Create Program: URL: http://localhost:8080/api/programs Method: POST Body:{ "code":"programCode", "name":"programName" } | { "code": "programCode", "name": "programName", "description": null, "active": null, "periodsSkippable": false, "showNonFullSupplyTab": null, "_links": { "self": { "href": "http://localhost:8080/api/programs/2a2f3259-b517-4518-b3c4-63b2c8398eca" }, "program": { "href": "http://localhost:8080/api/programs/2a2f3259-b517-4518-b3c4-63b2c8398eca" } } } | |
2 | Update Program code and name: URL: http://localhost:8080/api/programs or http://localhost:8080/api/programs/update Method: POST Body: { "id":"2a2f3259-b517-4518-b3c4-63b2c8398eca", "code":"programCodee", "name":"programNamee" } | { "id": "2a2f3259-b517-4518-b3c4-63b2c8398eca", "code": "programCodee", "name": "programNamee", "description": null, "active": null, "periodsSkippable": false, "showNonFullSupplyTab": null } | |