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
403
DCR2Terminate Contract Request  in status='SIGNED'
  • token 
  • id request in status=SIGNED
422
DCR3Terminate Terminate Contract Request ( in status='TERMIANTED')
  • token 
  • id request in status=TERMIANTED
422
DCR4Terminate Contract Reuqest with ID doesn't exist
  • token
  • id doesn't exist
404
DCR5Terminate contract request of another MSP
  • token with other client_id
  • id 
422


DCR6Terminate contract request
  • token
  • id
  • json

200, status = 'TERMINATED',

event added to event_manager