Skip to content

Commit

Permalink
Update code/Test_definitions/sim-swap-subscriptions.feature
Browse files Browse the repository at this point in the history
Co-authored-by: Fernando Prado Cabrillo <[email protected]>
  • Loading branch information
bigludo7 and fernandopradocabrillo authored Aug 23, 2024
1 parent ae36128 commit dfcfbad
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions code/Test_definitions/sim-swap-subscriptions.feature
Original file line number Diff line number Diff line change
Expand Up @@ -327,9 +327,9 @@ Feature: CAMARA sim swap subscriptions API, v0.1.0
And the response property "$.message" contains a user friendly text


@sim_swap_subscription_retrieve_61_device_token_mismatch
Scenario: Inconsistent access token context for the device
# To test this, a token have to be obtained for a different device
@sim_swap_subscription_retrieve_61_phone_number_token_mismatch
Scenario: Inconsistent access token context for the phone number
# To test this, a token have to be obtained for a different phone number
Given an existing subscription for a phone number
And the header "Authorization" is set to a valid access token emitted for a different phone number
And use BaseUrL
Expand All @@ -338,6 +338,7 @@ Feature: CAMARA sim swap subscriptions API, v0.1.0
And the response property "$.code" is "INVALID_TOKEN_CONTEXT"
And the response property "$.message" contains a user friendly text


@sim_swap_subscription_delete_61_device_token_mismatch
Scenario: Inconsistent access token context for the device
# To test this, a token have to be obtained for a different device
Expand Down

0 comments on commit dfcfbad

Please sign in to comment.