Versions Compared

Key

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

...

n/n Test CaseTest Case DescriptionTest Case InputsExpected ResultStep by Step ScriptActual result
LE1Register and verify LElegal entity
  1. legal_entity.json

Response 200

  • LE saved to DB with status mis VERIFIED
  1. Put digital signature to  legal_entity.json
  2. convert it to base64
  3. Register Legal Entity
  4. Verify Legal Entity by MIS

LELE2Register and verify LE with legal entity with the same edrpou
  1. nameName, shortShort_name, publicPublic_name - NEW
  2. edrpou - Old

Response 200

  • LE updates in DB with status mis NOT_VERIFIED
  1. Put digital signature to to legal_entity
  2. convert it to base64
  3. Register Legal Entity
  4. Verify Legal Entity by MIS

LELE3Register LE wrong EDRPOUlegal entity wrong EDRPOU
  1. edrpou is not 38782323

Response 422

  • validation_failed
  1. Put digital signature to legal_entity
  2. convert it to base64
  3. Register Legal Entity

LELE4Register LE wrong legal entity wrong e-mail
  1. e-mail is invalid

Response 422

  • validation_failed
  1. Put digital signature to legal_entity
  2. convert it to base64
  3. Register Legal Entity
LE
Register LE wrong adressLE5Register legal entity wrong address

Response 422

  • validation_failed
  1. Put digital signature to legal_entity
  2. convert it to base64
  3. Register Legal Entity

LELE6Register LE wrong scopeslegal entity wrong scopes

Response 422

  • validation_failed
  1. Put digital signature to legal_entity
  2. convert it to base64
  3. Register Legal Entity

LELE7Register LE empty legal entity empty short name

Response 422

  • validation_failed
  1. Put digital signature to legal_entity
  2. convert it to base64
  3. Register Legal Entity

LELE8Register LE not allowed kveds
  1. kveds 

Response 422

  • validation_failed
  1. Put digital signature to legal_entity
  2. convert it to base64
  3. Register Legal Entity

LELE9Register LE wrong legal form

Response 422

  • validation_failed
  1. Put digital signature to legal_entity
  2. convert it to base64
  3. Register Legal Entity