n/n | Description | Inputs | Expected Result | Step by Step Script | Actual Result |
---|
RPAMT1 | NHS Admin call reset person authentication method | - Authorization - NHS Admin
- scope Valid
(person:reset_authentication_method) - Person_id .id - Valid
- Person.status ACTIVE - Valid
| Response 200 Saved in DB `mpi.persons.authentication_methods` value = "[ { “type”: “NA” }. ]" | - Login as NHS admin
- Call ResetPersonAuthenticationMethod()
| |
RPAMT2 | Doctor call WS direct | - Authorization - Doctor
- scope missing (person:reset_authentication_method)
- Person_id .id - Valid
- Person.status ACTIVE - Valid
| Response 403
| - Login as Doctor
- Call ResetPersonAuthenticationMethod()
| |
RPAMT3 | NHS Admin call reset person authentication method with bad person_id | - Authorization - NHS Admin
- scope Valid
(person:reset_authentication_method) - Person.id - Invalid
| Response 404 Not found | - Login as NHS admin
- Call ResetPersonAuthenticationMethod()
| |
RPAMT3 | NHS Admin call reset person authentication method with bad person_id | - Authorization - NHS Admin
- scope Valid
(person:reset_authentication_method) - Person.id - Invalid
| Response 404 Not found | - Login as NHS admin
- Call ResetPersonAuthenticationMethod()
| |
|
|
|
|
|
|