Versions Compared

Key

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


n/n
Description
Inputs
expected result
actual  result
DCR1Terminate Contract Request without scope
  • token
  • id
  • json
403403
DCR2Terminate Contract Request  in status='SIGNED'/'DECLINED'
  • token 
  • id request in status=SIGNED/DECLINED
422422
DCR3Terminate

...

Terminated Contract Request ( in status='TERMIANTED')
  • token 
  • id request in status=TERMIANTED
422200
DCR4Terminate Contract Reuqest with ID doesn't exist
  • token
  • id doesn't exist
404404
DCR5Terminate contract request of another MSP
  • token with other client_id
  • id 

...

403

403, User is not allowed to perform this action

DCR6Terminate contract request
  • token
  • id
  • json

200, status = 'TERMINATED',

event added to event_manager

200