n/n test | Description | inputs | expected result | step by step script | actual result | |
---|---|---|---|---|---|---|
1 | update mpi with valid token | signed person json | person is updated | sing-in update mpi | ||
2 | update other mpi | signed person json | 403 | |||
3 | update mpi with expired token | 401 "The access token expired" | ||||
4 | update mpi with different tax_id in user and person | 403 "person is incorrect and could not be updated" | ||||
5 | try to change tax_id, first or and last name | 409 $.tax_id($.first_name...) could not be changed | first and last name were changed | |||
6 | enter phone number that is not verified | 422 - authentication number is not verified | phone number was changed | |||
7 | sign update with invalid DS, different tax_id | 409 (Person that loged in, person that is changed and person that sign should be the same) | ||||
8 | do not sign update | |||||
9 | set "process_disclosure_data_consent"=false | |||||
10 | change mpi w/o Cabinet | |||||
11 | change w/o necessary scopes ( scope "person:write") | 403 - "Your scope does not allow to access this resource. Missing allowances: person:write" | 403 | |||
12 | update inactive person | 409 | person is updated | |||
13 | update blocked person | 401 | ||||
14 | enter incorrect dictionary data | 422 - value is not allowed in enum | update person with age <14 and document type not birth certificate | 422 - Must contain required item BIRTH_CERTIFICATE.updated with wrong Dictionary types | ||
15 | change authentication number | 422 - OFFLINE method could not be used in cabinet | 422 | |||
16 | enter incorrect address | 422 | updated | |||
17 | enter only one type of address | 422 | 422 | |||
Content Comparison
General
Content
Integrations