Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


n/ndescriptioninputsexpected_resultactual_resultexpected_result
graphQL
actual_result
graphQL
ACR1Approve Contract Request not by NHS Signer
  • token
  • id
403


ACR2Approve not updated Contract Request 
  • token
  • id
422422

ACR3Approve Contract Request which doesn't exist
  • token
  • id
404404, not found

ACR3.1Approve Contract Request in status<>'IN_PROCESS'


"errors": [
{"extensions": {
"code": "CONFLICT"},
"message": "Incorrect status of contract_request to modify it",
"path": [
"approveContractRequest"]}]
"errors": [
{"extensions": {
"code": "CONFLICT"},
"message": "Incorrect status of contract_request to modify it",
"path": [
"approveContractRequest"]}]
ACR4Approve Contract Request with contractor legal entity status<>'ACTIVE'
  • token
  • id
422422

ACR5Approve Contract Request with contractor_owner_id is_active=false
  • token
  • id
422422

ACR6Approve Contract Request with invalid start_date
  • token
  • id
422422, Start date must be greater than create date

ACR7Approve valid Contract Request
  • token
  • id
200, event added to event manager
datadata

ACR8Approve CR with edrpou=10 symbols
  • token
  • id
  • DS surname
  • DS drfo
200200

ACR9Approve CR with different surname in DS and employee
  • token
  • id
  • DS surname
  • DS drfo
422

422

Signer surname does not match with current user last_name



ACR10Approve CR with edrpou=8 symbols
  • token
  • id
  • DS surname
  • DS drfo
200200

ACR11Approve CR with different edrpou in legal_entity and DS
  • token
  • id
  • DS surname
  • DS drfo
422422

ACR12Approve CR with different drfo in employee and DS
  • token
  • id
  • DS surname
  • DS drfo
422422

ACR13Approve by employee DS with DS drfo = LE edrpou = 10 symbols
  • token
  • id
  • DS surname
  • DS drfo
200200

ACR14Approve CR by NHS employee but not NHS signer in CR with DS edrpou = LE edrpou and DS surname = party surname
  • token
  • id
  • DS surname
  • DS drfo
200200