DocumentationCheck that you cannot delete a subscription: If the subscription Id is not present or it is not a valid URI, then an error of type BadRequestData shall be raised
Test TemplateDelete Subscription With Non present Or Invalid Id
*** Test Cases *** id
NotPresentId${EMPTY}
InvalidIdInvalidUri
*** Keywords ***
Delete Subscription With Non present Or Invalid Id
[Arguments]${id}
[Documentation]Check that you cannot delete a subscription: If the subscription Id is not present or it is not a valid URI, then an error of type BadRequestData shall be raised
[Tags]mandatory
Delete Subscription${id}
Check Response Status Code Set To400
Check Response Body Containing ProblemDetails Element Containing Type Element set to${response}${ERROR_TYPE_BAD_REQUEST_DATA}
Check Response Body Containing ProblemDetails Element Containing Title Element${response}
DocumentationCheck that you cannot delete a subscription: If the subscription id provided does not correspond to any existing subscription in the system then an error of type ResourceNotFound shall be raised
[Documentation]Check that you cannot delete a subscription: If the subscription id provided does not correspond to any existing subscription in the system then an error of type ResourceNotFound shall be raised
[Tags]mandatory
Delete SubscriptionunknownSubscription
Check Response Status Code Set To404
Check Response Body Containing ProblemDetails Element Containing Type Element set to${response}${ERROR_TYPE_RESOURCE_NOT_FOUND}
Check Response Body Containing ProblemDetails Element Containing Title Element${response}