Versions Compared

Key

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

n/n Test Case

Test Case Description

Test Case Inputs

Expected Result

Step by Step Script

PR1

Create adult Person with auth method.type = OTP

  • New person

  • Person.age > no_self_auth_age

  • auth_method.type = OTP

Response - 200

Send SMS on Create person request

Create, Approve, Sign person request

PR2

Create adult Person with auth method.type = OFFLINE

  • New person

  • Person.age > no_self_auth_age

  • auth_method.type = OFFLINE

Response - 200

Download docs

Create, Approve, Sign person request

PR3

Create adult Person with auth method.type = THIRD_PERSON where third_person has auth method.type = OTP/ OFFLINEPR4

  • New person 1

Create adult Person with auth
  • Person.age > no_self_auth_age

  • auth_method.type = THIRD_

PERSON where third_person has auth
  • PERON (person 2)

  • Person2.auth_method.type= OTP/OFFLINE

Validation error - 422

`Adult person must be authorized OTP or OFFLINE`

Person2 - Create, Approve, Sign person request

Person 1 - Create person request

PR5

Create adult Person with auth method.type = THIRD_PERSON where third_person doesn’t have active auth method

  • New person 1

  • Person.age > no_self_auth_age

  • auth_method.type = THIRD_PERON (person 2)

  • Person2 doesn’t have active auth_method

Validation error - 422

`Adult person must be authorized OTP or OFFLINE`

Person2 - Create, Approve, Sign person request. Reset auth method

Person 1 - Create person request

PR6

Create child with auth method.type = OTP

PR7

Create child with auth method.type = OFFLINE

PR8

Create child with auth method.type = THIRD_PERSON where third_person has auth method.type = OTP

PR9

Create child with auth method.type = THIRD_PERSON where third_person has auth method.type = OFFLINE

PR10

Create child with auth method.type = THIRD_PERSON where third_person doesn’t have active auth method

Update adult person with type = OTP

Update adult person with type = OFFLINE

Update adult person, who doesn’t have active auth method

Person.age > no_self_auth_age

  • Person doesn’t have active auth_method

Validation error - 422

Person1 - Create, Approve, Sign person request. Reset auth method

Person 1 - Update person request