Versions Compared

Key

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


RPAMT1NHS Admin call reset person authentication method Valid 200Get list of drugs
n/nDescriptionInputsExpected ResultStep by Step ScriptActual Result
RPAMT1

NHS Admin call reset person authentication method

  • Authorization - NHS Admin  
  • scope Valid
    (person:reset_authentication_method)
  • Person_id - Valid

Response 200Get list of drugs

Saved in DB `mpi.persons.authentication_methods` value = " { “type”: “NA”  }. ]"

  1. Login as NHS admin 
  2. Call ResetPersonAuthenticationMethod()
  •  
RPAMT2Doctor call WS direct
  • Authorization - Doctor   
  • scope Invalid missing (person:reset_authentication_method)
  • Person_id - Valid

Response 403


  1. Login as Doctor
  2. Call ResetPersonAuthenticationMethod()
  •  
RPAMT3

NHS Admin call reset person authentication method

  • Authorization - NHS Admin  
  • scope Valid (person:reset_authentication_method)
  • Person_id - Valid

Response 200

Get list of drugs

  1. Login as NHS admin 
  2. Call ResetPersonAuthenticationMethod()
  •  
RPAMT1

with bad person_id

  • Authorization - NHS Admin  
  • scope Valid
    (person:reset_authentication_method)
  • Person_id -
  • Invalid

Response

404

Not found

  1. Login as NHS admin 
  2. Call ResetPersonAuthenticationMethod()
  •