Skip to content

Reject records in Farajaland and end-to-end test rejection #7700

@naftis

Description

@naftis

Description

Let's create a light-hearted check, that when the child's name is President, the birth gets rejected because no one should get born into leadership positions in Farajaland :) This is to test if the country config can actually use the rejectRegistration endpoint in Gateway

Acceptance criteria

GIVEN a birth registration is made in Farajaland
WHEN the child's name is President
THEN the birth gets rejected via rejectRegistration endpoint

Dev tasks

  • In Farajaland, add a check in the event-registration endpoint if the child's first name is President, the birth gets rejected via the rejectRegistration endpoint
  • Create a E2E test that checks the registration actually goes to the rejected workqueue

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Ready to build

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions