n/n | description | inputs | expected result GraphQl | actual result GraphQl |
---|---|---|---|---|
TD1 | Terminate declaration without scopes |
| missing allowance declaration:terminate | |
TD2 | Terminate declaration by doctor |
| 403 | |
TD3 | Terminate declaration by ID doesn't exist |
| Could not decode ID value | Could not decode ID value |
TD4 | Terminate declaration by invalid ID |
| not_found | 500, { |
TD5 | Terminate inactive declaration |
| declaration status is not active | CONFLICT Declaration is not active |
TD6 | Terminate active declaration |
| 200, status = `terminated`, reason = `manual_person` | Current client is not allowed to access this resource |
TD7 | Terminate active declaration with reason more than 255 char |
|
...