Skip to content

Let the PU-stub return a generic response for unknown persons #2

@albinsunnanbo

Description

@albinsunnanbo

When testing with the PU-stub using person numbers not included in the PU-Stub the stub currently returns Sökt_person_saknas_i_registren (0001).
This makes it problematic to use the stub for processing large amounts of data with different numbers.

Proposed solution is to always return Tjänsten_utförd (0000) and the verbatim text "Förnamn", "Efternamn" as first and last name.

Reserve specific obvious invalid numbers for testing the possible error codes.
I.e.
00019999999x for returning return code 0001
00209999999x for returning return code 0020
etc.

Any suggestions? @jonaskentor @johansvard @tomassarnhammar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions