Commit 5fb18c30 authored by Bartek Wrona's avatar Bartek Wrona
Browse files

Merge branch 'get_discussions_by_blog_negative' into 'master'

tags_api negative get_discussions_by_blog moved to folder

See merge request !62
parents db4103fb 599b5c05
{
"code": -32602,
"data": "`tag` cannot be blank",
"message": "Invalid parameters"
}
{
"code": -32602,
"data": "`tag` cannot be blank",
"message": "Invalid parameters"
}
---
test_name: Hivemind tags_api.get_discussions_by_blog patterns test empty params
marks:
- patterntest
- negative
includes:
- !include ../../common.yaml
stages:
- name: get_discussions_by_blog
request:
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "tags_api.get_discussions_by_blog"
params: [] # context, tag: str = None, start_author: str = '', start_permlink: str = '', limit: int = 20, truncate_body: int = 0, filter_tags: list = None
# tag -> auhtor
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "empty_params"
directory: "tags_api_negative/get_discussions_by_blog"
error_response: true
\ No newline at end of file
Markdown is supported
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