n/n | description | inputs | expected result | step by step script | actual result |
---|---|---|---|---|---|
1 | get declaration details | declaration id | 200 declaration detail | log in get declaration details | add some fields to response according to apiary |
2 | get declaration details w/o scopes | 403 | |||
3 | get declaration details with expired token | 401 | |||
4 | get declaration details with wrong id declaration | 404 | |||
5 | get declaration details for another person | 403 - forbidden | 404 not found | ||
6 | get declaration details with different tax_id in user and person | 403 | got declaration details. Should be forbidden | ||
7 | get declaration details for a person w/o role Cabinet | 403 | can obtain declaration details | ||
8 | get declaration details for blocked person | 401 | |||
9 | get declaration details for a person with psw expired | 401 - password_expired | can view declaration details | ||
...