Commit 6f8e1013 authored by Paulina Czempiel's avatar Paulina Czempiel
Browse files

condenser_api get_content negative test moved to folder

parent d22c2fa4
{
"code": -32000,
"data": "IndexError: list index out of range",
"message": "Server error"
}
{
"code": -32602,
"data": "post was not found in cache",
"message": "Invalid parameters"
}
---
test_name: Hivemind condenser_api.get_content deleted post patterns test
marks:
- patterntest
- negative
includes:
- !include ../../common.yaml
stages:
- name: get_content gtg
request:
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "condenser_api.get_content"
params: ["jsc", "testing-summary"]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "deleted_post"
directory: "condenser_api_negative/get_content"
error_response: true
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment