Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 5
Next »
n/n Test Case | Test Case Description | Test Case Inputs | Expected Result | Step by Step Script | Actual result |
---|
LE1 | Register and verify legal 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
|
|
LE2 | Register and verify legal entity with the same edrpou | - Name, Short_name, Public_name - NEW
- edrpou - Old
| Response 200 - LE updates in DB with status mis NOT_VERIFIED
| - Put digital signature to legal_entity
- convert it to base64
- Register Legal Entity
|
|
LE3 | Register legal entity wrong EDRPOU | - edrpou is not 38782323
| Response 422 | - Put digital signature to legal_entity
- convert it to base64
- Register Legal Entity
|
|
LE4 | Register legal entity wrong e-mail | - e-mail - No
| Response 422 | - Put digital signature to legal_entity
- convert it to base64
- Register Legal Entity
|
|
LE5 | Register legal entity wrong address | - address area - wrong
| Response 422 - validation_failed (invalid area value)
| - Put digital signature to legal_entity
- convert it to base64
- Register Legal Entity
|
|
LE6 | Register legal entity w/o scopes | - Headers.Authorization - No
| Response 401 - access_denied - Authorization header is not set or doesn't contain Bearer token
| - Put digital signature to legal_entity
- convert it to base64
- Register Legal Entity
|
|
LE7 | Register legal entity empty short name | - Short_name - empty
| Response 422 | - Put digital signature to legal_entity
- convert it to base64
- Register Legal Entity
|
|
LE8 | Register LE not allowed kveds | - kveds not in 86.10 or/and 86.21
| Response 422 - validation_failed
- At least one KVED code must be from list [\"86.10\", \"86.21\"]
| - Put digital signature to legal_entity
- convert it to base64
- Register Legal Entity
|
|
LE9 | Register LE w/o legal form | - legal_form - No
| Response 422 | - Put digital signature to legal_entity
- convert it to base64
- Register Legal Entity
|
|