ЕСОЗ - публічна документація
Terminate Contract Request tests
n/n | Description | Inputs | expected result | actual result |
---|---|---|---|---|
DCR1 | Terminate Contract Request without scope |
| 403 | 403 |
DCR2 | Terminate Contract Request in status='SIGNED'/'DECLINED' |
| 422 | 422 |
DCR3 | Terminate Terminated Contract Request ( in status='TERMIANTED') |
| 422 | 422, Incorrect status of contract_request to modify it |
DCR4 | Terminate Contract Reuqest with ID doesn't exist |
| 404 | 404 |
DCR5 | Terminate contract request of another MSP |
| 403 | 403, User is not allowed to perform this action |
DCR6 | Terminate contract request in status NEW |
| 200, status = 'TERMINATED', event added to event_manager | 200, status = 'TERMINATED', event added to event_manager |
DCR7 | Terminate contract request in status APPROVED |
| 200, status = 'TERMINATED', event added to event_manager | 200, status = 'TERMINATED', event added to event_manager |
DCR8 | Terminate contract request in status PENDING_NHS_SIGN |
| 200, status = 'TERMINATED', event added to event_manager | 200, status = 'TERMINATED', event added to event_manager |
DCR9 | Terminate contract request in status NHS_SIGNED |
| 200, status = 'TERMINATED', event added to event_manager | 200, status = 'TERMINATED', event added to event_manager |
ЕСОЗ - публічна документація