-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Labels
Description
Problem description
In some feature-files the values for the types-property are invalid
Example
@reachability_status_subscriptions_create_403.1_permission_denied
Scenario: Subscription creation without having the required scope
# To test this, a token must not have the required scope
Given the header "Authorization" set to an access token not including scope "device-reachability-status-subscriptions:org.camaraproject.device-reachability-status-subscriptions.v0.reachability-data:create"
And the request body is compliant with the schema "#/components/schemas/SubscriptionRequest"
And the request body property "$.types" is equal to "device-reachability-status-subscriptions:org.camaraproject.device-reachability-status-subscriptions.v0.reachability-data"
When the request "createDeviceReachabilityStatusSubscription" is sent
Then the response status code is 403
And the response property "$.status" is 403
And the response property "$.code" is "PERMISSION_DENIED"
And the response property "$.message" contains a user friendly text
Problem:
And the request body property "$.types" is equal to "device-reachability-status-subscriptions:org.camaraproject.device-reachability-status-subscriptions.v0.reachability-data"
Expected action
And the request body property "$.types" is equal to "org.camaraproject.device-reachability-status-subscriptions.v0.reachability-data"
Reactions are currently unavailable