Commit c33380fc authored by Andrzej Lisak's avatar Andrzej Lisak
Browse files

Merge branch 'get_discussions_by_blog_negative' of...

Merge branch 'get_discussions_by_blog_negative' of gitlab.syncad.com:hive/tests_api into get_discussions_by_blog_negative
parents db4103fb eb76b99b
{
"code": -32602,
"data": "`tag` cannot be blank",
"message": "Invalid parameters"
}
\ No newline at end of file
---
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