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

Update test wording to avoid confusion with "activation" terminology #170

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions code/Test_definitions/sim-swap-retrieveDate.feature
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ Feature: CAMARA SIM Swap API, 1.0.0 - Operation retrieveSimSwapDate
Then the response status code is 200
And the response property "$.latestSimChange" contains the sim's activation timestamp

# This test applies if the operator allows to do the request for a sim that has never been connected to the network
@retrieve_sim_swap_date_4_sim_not_activated
Scenario: Retrieves SIM swap date for a non-activated sim
# This test applies if the operator allows to do the request for a phone number that hasn't been associated with a sim card yet
@retrieve_sim_swap_date_4_sim_never_associated
Scenario: Retrieves SIM swap date for a phone number that has never been associated with a sim card
Given a valid phone number identified by the token or provided in the request body
And the sim for that device has never been connected to the Operator's network
And the phone number is not associated to any sim card
When the request "retrieveSimSwapDate" is sent
Then the response status code is 200
And the response property "$.latestSimChange" is null
Expand Down