Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with test definition @check_sim_swap_7_no_sim_swap_with_max_age #167

Closed
bigludo7 opened this issue Oct 30, 2024 · 0 comments · Fixed by #168
Closed

Issue with test definition @check_sim_swap_7_no_sim_swap_with_max_age #167

bigludo7 opened this issue Oct 30, 2024 · 0 comments · Fixed by #168

Comments

@bigludo7
Copy link
Collaborator

Problem description
The test states that:

    Given a valid phone number identified by the token or provided in the request body
    And the SIM for this phone number has never been swapped
    And the activation of the SIM occurred more than "<hours>" hours ago
    And the request body property "maxAge" is set to a value equal or greater than "<hours>" within the allowed range
    When the request "checkSimSwap" is sent
    Then the response status code is 200
    And the value of response property "$.swapped" == false

but it should be:

    Given a valid phone number identified by the token or provided in the request body
    And the SIM for this phone number has never been swapped
    And the activation of the SIM occurred more than "<hours>" hours ago
    And the request body property "maxAge" is set to a value less than "<hours>" within the allowed range
    When the request "checkSimSwap" is sent
    Then the response status code is 200
    And the value of response property "$.swapped" == false

Expected behavior
Fix the test case

Alternative solution

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant