Versions Compared

Key

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


n/n
Description
Inputs
expected result
actual  result
PC1Prolongate Contract without scope
  • token
  • id
  • json
403
PC2Prolongate Contract by MSP
  • invalid token 
403
PC3Prolongate Contract with ID doesn't exist
  • token
  • id doesn't exist
404
PC4Prolongate Contract with status = TERMINATED
  • token with invalid status
  • id 
409


PC5Prolongate Contract with not merged contractor_legal_entity 
  • token
  • id
422
PC6Prolongate Contract with invalid end_date
  • token
  • id
  • end_date<now()
422
PC7Prolongate contract with closed legal entity
  • token
  • id
  • contractor_legal_entity.status='closed'
422
PC8Prolongate Contract 
  • NHS token
  • id of valid contract_request
  • json

200, updated end_date



...