n/n Test Case | Test Case Description | Test Case Inputs | Expected Result | Step by Step Script | Actual result |
---|
LE1 | Register and verify LElegal entity | - legal_entity.json
| Response 200 - LE saved to DB with status mis VERIFIED
| - Put digital signature to legal_entity.json
- convert it to base64
- Register Legal Entity
- Verify Legal Entity by MIS
|
|
LELE2 | Register and verify LE with legal entity with the same edrpou | - nameName, shortShort_name, publicPublic_name - NEW
- edrpou - Old
| Response 200 - LE updates in DB with status mis NOT_VERIFIED
| - Put digital signature to to legal_entity
- convert it to base64
- Register Legal Entity
- Verify Legal Entity by MIS
|
|
LELE3 | Register LE wrong EDRPOUlegal entity wrong EDRPOU | - edrpou is not 38782323
| Response 422 | - Put digital signature to legal_entity
- convert it to base64
- Register Legal Entity
|
|
LELE4 | Register LE wrong legal entity wrong e-mail | - e-mail is invalid
| Response 422 | - Put digital signature to legal_entity
- convert it to base64
- Register Legal Entity
| LE |
|
Register LE wrong adressLE5 | Register legal entity wrong address |
| Response 422 | - Put digital signature to legal_entity
- convert it to base64
- Register Legal Entity
|
|
LELE6 | Register LE wrong scopeslegal entity wrong scopes |
| Response 422 | - Put digital signature to legal_entity
- convert it to base64
- Register Legal Entity
|
|
LELE7 | Register LE empty legal entity empty short name |
| Response 422 | - Put digital signature to legal_entity
- convert it to base64
- Register Legal Entity
|
|
LELE8 | Register LE not allowed kveds | - kveds
| Response 422 | - Put digital signature to legal_entity
- convert it to base64
- Register Legal Entity
|
|
LELE9 | Register LE wrong legal form |
| Response 422 | - Put digital signature to legal_entity
- convert it to base64
- Register Legal Entity
|
|