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
EPR1Owner register new employee with type 'Pharmacist' and with valid accreditation category 
  • status - "NEW",
  • employee_type - "PHARMACIST"
  • name - valid
  • birth_date - valid (18+)
  • documents - valid
  • tax_id - valid 
  • phones - valid
  • educations - valid 
  • speciality_type - PHARMASICT 
  • ACCREDITATION_CATEGORY - is not null 

Response 200

  • Employee saved in DB with status APPROVED
  1. Get Pharmacy_owner authorize token
  2. Authorize scopes owner
  3. Exchange grant token owner
  4. Create employee request
  5. Pass register steps via link in email



EPR2Owner register new employee with type 'Pharmacist' and with empty accreditation category 
  • status - "NEW",
  • employee_type - "PHARMACIST"
  • name - valid
  • birth_date - valid (18+)
  • documents - valid
  • tax_id - valid 
  • phones - valid
  • educations - valid 
  • speciality_type - PHARMASICT 
  • ACCREDITATION_CATEGORY - null 

Response

????

  • Get Pharmacy_owner authorize token
  • Authorize scopes owner
  • Exchange grant token owner
  • Create employee request
  • ????




EPR3Owner register new employee with type 'HR'