When flag `USE_DEDUPLICATION_MODEL` turn on on IL, we have new logic.
n/n Test Case | Test Case Description | Test Case Inputs | Expected Result | Step by Step Script | Actual result |
---|---|---|---|---|---|
DR1 | Patient's declaration request dr.1 and declaration dr.2 in one employee with tax_id |
| Declaration dr.1 status - new Declaration dr.2 status - new |
| |
Declaration dr.1 status - approved Declaration dr.2 status - new |
| ||||
DR2 | Patient's declaration request dr.1 and declaration dr.2 in different employeewith tax_id |
| Declaration dr.1 status - from new to cancelled Declaration dr.2 status - new |
| |
Declaration dr.1 status - from approved to cancelled Declaration dr.2 status - new |
| ||||
DR3 | Patient's declaration request dr.1 and declaration dr.2 in one employee w/o tax_id |
| Declaration dr.1 - status new Declaration dr.2 - status new |
| |
Declaration dr.1 - status approved Declaration dr.2 - status new |
| ||||
DR4 | Patient's declaration request dr.1 and declaration dr.2 in different employee w/o tax_id |
| Declaration dr.1 - status from new to cancelled Declaration dr.2 - status new |
| |
Declaration dr.1 - status from approved to cancelled Declaration dr.2 - status new |
| ||||
DR5 | Declaration request OTP with auth.phone = conf.phone |
| Response - 200 | Create declaration request | |
DR6 | Declaration request OTP with auth.phone != conf.phone |
| Validation error - 422
| Create declaration request | |
DR7 | Declaration request tax_id id not null and related with bd and gender |
| Response - 200 | Create declaration request | |
DR8 | Declaration request tax_id id not null and is not related with bd and gender |
| Validation error - 422
| Create declaration request | |
| |||||
|
n/n Test Case | Test Case Description | Test Case Inputs | Expected Result | Step by Step Script | Actual result |
---|---|---|---|---|---|
DR1 | Create declaration request OTP dr.2 with person.id(have same tax_id and auth.phone |
| Response - 200 On decl request dr.2 in il.declaration_request.mpi = d1.person_id |
| |
DR2 | Create declaration request OTP dr.2 w/o person.id (have same tax_id and auth.phone |
| Validation error - 422
|
| |
DR3 | Approved declaration request OTP dr.2 with person.id(have same tax_id and auth.phone |
| Responce - 200
|
| |