ЕСОЗ - публічна документація
Decline Contract Request tests
n/n | Description | Inputs | expected result | actual result |
---|---|---|---|---|
DCR1 | Decline Contract Request without scope |
| 403 | 403 |
DCR2 | Decline Contract Request by other role than `NHS ADMIN SIGNER` |
| 403 | 403 |
DCR3 | Decline Contract Reuqest in status<>'NEW' |
| 422 | 422, Incorrect status of contract_request to modify it |
DCR4 | Decline Contract Reuqest with ID doesn't exist |
| 404 | 404, |
DCR5 | Decline contract request with not fulfilled updated fields |
| 200 | 200 |
DCR6 | Decline contract Request | 200, status = 'DECLINED', event added to event_manager | 200 | |
DCR7 | Decline contract Request with not valid DRFO |
| 422 | 422, Does not match the signer drfo |
DCR8 | Decline contract Request with invalid contractor_legal_entity.drfo |
| 422 | 400, Signed content doesn't match with contract request |
DCR9 | Decline CR by NHS with Admin surname = DS surname |
| 200 | 200 |
DCR10 | Decline CR by NHS with Admin surname <> DS surname |
| 422 | 422 Signer surname does not match with current user last_name |
DCR11 | Decline CR by NHS with different edrpou in legal_entity and DS |
| 422 | 422 EDRPOU is not match with signer drfo |
DCR12 | Decline CR by NHS employee but not NHS signer in CR with DS edrpou = LE edrpou and DS surname = party surname |
| 200 | 200 |
ЕСОЗ - публічна документація