Skip to content

Commit

Permalink
fix: SUBSCRIPTION_MISMATCH test case
Browse files Browse the repository at this point in the history
  • Loading branch information
dfischer-tech committed Jan 30, 2025
1 parent 6772e5b commit 89ec254
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,10 @@ Feature: CAMARA Connected Network Type Subscriptions API, vwip - Operations on s

@connected_network_type_subscriptions_21_inconsistent_access_token_for_requested_events_subscription
Scenario: subscription creation with invalid access token for requested events subscription
# To test this, use a event type in the request which cannot be managed in this API
# To test this, a token contains an unsupported event type for this API
Given a valid subscription request body
And the request body property "$.device" is set to a valid testing device supported by the service
And the request body property "$.types" contains an unsupported event type in this API
And the request body property "$.types" contains the supported event type in this API
When the request "createDeviceReachabilityStatusSubscription" is sent
Then the response property "$.status" is 403
And the response property "$.code" is "SUBSCRIPTION_MISMATCH"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,10 @@ Feature: Device Reachability Status Subscriptions API, v0.6.0 - Operations Reach

@reachability_status_subscription_21_inconsistent_access_token_for_requested_events_subscription
Scenario: subscription creation with invalid access token for requested events subscription
# To test this, use a event type in the request which cannot be managed in this API
# To test this, a token contains an unsupported event type for this API
Given a valid subscription request body
And the request body property "$.device" is set to a valid testing device supported by the service
And the request body property "$.types" contains an unsupported event type in this API
And the request body property "$.types" contains the supported event type in this API
When the request "createDeviceReachabilityStatusSubscription" is sent
Then the response property "$.status" is 403
And the response property "$.code" is "SUBSCRIPTION_MISMATCH"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,10 @@ Feature: Device Roaming Status Subscriptions API, v0.6.0 - Operations RoamingSta

@roaming_status_subscription_22_inconsistent_access_token_for_requested_events_subscription
Scenario: subscription creation with invalid access token for requested events subscription
# To test this, use a event type in the request which cannot be managed in this API
# To test this, a token contains an unsupported event type for this API
Given a valid subscription request body
And the request body property "$.device" is set to a valid testing device supported by the service
And the request body property "$.types" contains an unsupported event type in this API
And the request body property "$.types" contains the supported event type in this API
When the request "createDeviceReachabilityStatusSubscription" is sent
Then the response property "$.status" is 403
And the response property "$.code" is "SUBSCRIPTION_MISMATCH"
Expand Down

0 comments on commit 89ec254

Please sign in to comment.