n/n | description | inputs | expected result GraphQl | actual result GraphQl |
---|---|---|---|---|
TD1 | Reject declaration without scopes |
| missing allowance declaration:reject | missing allowance declaration:reject |
TD2 | Reject declaration by doctor |
| 403 | 401, Invalid access token |
TD3 | Reject declaration by ID doesn't exist |
| not_found | "code": "BAD_REQUEST", "exception": "%{\"error\" => %{\"type\" => \"not_found\"}, \"meta\" => %{\"code\" => 404, \"request_id\" => \"86aceff7-7039-41d5-b6b4-161fdb77f360#15195\", \"type\" => \"object\", \"url\" => \"http://graphql-svc.il/declarations/c33a08eb-5162-4d56-9d57-7b49a4c93a42\"}}" |
TD4 | Reject active declaration |
| CONFLICT invalid status | Validation error, Incorrect status transition. |
TD5 | Reject inactive declaration |
| CONFLICT invalid status | Validation error, Incorrect status transition |
TD6 | Reject pending verification declaration |
| 200, status = `REJECTED`, reason = `manual_person` | 200, status= `REJECTED` |
Page Comparison
General
Content
Integrations