n/n | description | inputs | expected_result | actual_result |
---|---|---|---|---|
ACR1 | Approve Contract Request not by NHS Signer |
| 403 | |
ACR2 | Approve not updated Contract Request |
| 422 | 422 |
ACR3 | Approve Contract Request which doesn't exist |
| 404 | 404, not found |
ACR4 | Approve Contract Request with contractor legal entity status<>'ACTIVE' |
| 422 | 422 |
ACR5 | Approve Contract Request with contractor_owner_id is_active=false |
| 422 | 422 |
ACR6 | Approve Contract Request with invalid start_date |
| 422 | 422, Start date must be greater than create date |
ACR7 | Approve valid Contract Request |
| 200, event added to event manager | |
ACR8 | Approve CR with edrpou=10 symbols |
| 200 | 200 |
ACR9 | Approve CR with different surname in DS and employee |
| 422 | 422 Signer surname does not match with current user last_name |
ACR10 | Approve CR with edrpou=8 symbols |
| 200 | 200 |
ACR11 | Approve CR with different edrpou in legal_entity and DS |
| 422 | 422 |
ACR12 | Approve CR with different drfo in employee and DS |
| 422 | 422 |
ACR13 | Approve by employee DS with DS drfo = LE edrpou = 10 symbols |
| 200 | 200 |
ACR14 | Approve CR by NHS employee but not NHS signer in CR with DS edrpou = LE edrpou and DS surname = party surname |
| 200 | 200 |
...