425: Geographic zones
Test Case #: 425 | Test Case Name: Geographic zones |
System: OpenLMIS | Subsystem: Example |
Test case designed by: Anna Czyrko | Design Date:25.07.2016 |
Short description: Allows addition of new geographic zones |
|
Pre – conditions: |
|
Step | Action | Expected system response | Comment |
1 | Create GeographicLevel entity. Method: Post Example Body: { "code": "2", "name": "test2", "levelNumber": "3" } | Should appear: Status 201 Created or 200 OK | |
2 | Create GeographicZone entity. Method: Post Body: { "code": "test3", "name": "3", "latitude":"16.201566", "longitude": "15.94830" }
|
| |
3 | Check if API exist. Method: Get
|
| |
| |||
|---|---|---|---|
Post – conditions:
|