n/n | Description | Inputs | expected result | actual result |
---|---|---|---|---|
UCR1 | Update Contract Request without scope |
| 403 | 403 |
UCR2 | Update Contract Request by other role than `NHS ADMIN SIGNER` |
|
200 |
200 | ||||
UCR3 | Update Contract Reuqest in status<>'NEW' |
| 422 | 422, Incorrect status of contract_request to modify it |
UCR4 | Update Contract Reuqest with ID doesn't exist |
| 404 | 404 |
UCR5 | Update contract request with invalid price |
| 422 | 422, nhs_contract_price, must be greater than 0 |
UCR6 | Update contract request with start_date | start_date<today | 422 | 422, Start date must be greater than create date |
UCR7 | Update contract request using not valid nhs_payment_method |
| 422 | 200 |
UCR8 | Update contract request without issue city |
| 200 | 200 |
UCR9 | Update contract request |
| 200 | msp_data- "external_contractor_flag": false "nhs_signer": null, "nhs_legal_entity": null |
UCR9 | Update updated contract request |
| 200 | 200 |