n/n | description | inputs | expected_result | actual_result |
---|---|---|---|---|
UCE1 | Update Contract employees without scope |
|
| 403, Your scope does not allow to access this resource. Missing allowances: contract:write |
UCE2 | Update Contract employees by contract which doesn't exist |
|
| 404, not found |
UCE3 | Update Contract employees by contract which doesn't belong to MSP |
|
| 403, You are not allowed to view this contract |
UCE4 | Update Contract employees by contract with nhs_access token |
|
| 403 |
UCE5 | Update contract employees by contract with status TERMINATED |
|
| 409, Not active contract can't be updated |
UCE6 | Update employees with division that doesn't belong to MSP |
| 422 | 422, Division should be among contract_divisions |
UCE7 | Update employees inactive doctor |
| 422 | 422, Employee must be active DOCTOR |
UCE8 | Update employees with division that doesn't belong to contractor divisions |
| 422 | 422, Division should be among contract_divisions |
UCE9 | Update employees and CLOSED division |
| 422 | 200 |
UCE10 | Update employees |
| 200 | 200 |
UCE11 | Deactivate employee which is not in contract |
| 422 | 422, Invalid employee_id to deactivate |
UCE12 | Add new employee to contract |
| 200 | 200 |
UCE13 | Add new employee MSP from another to contract |
| 422 | 200 |
Page Comparison
General
Content
Integrations