Skip to content
Snippets Groups Projects
Commit 04d5c43e authored by Mariusz Trela's avatar Mariusz Trela
Browse files

When an account doesn't exist, then error is triggered

parent c3c830a2
No related branches found
No related tags found
1 merge request!161Tests specific to hivemind MR https://gitlab.syncad.com/hive/hivemind/-/merge_requests/329
Showing
with 45 additions and 5 deletions
[]
{
"code": -32602,
"data": "Account joeyarnoldvn does not exist",
"message": "Invalid parameters"
}
......@@ -3,6 +3,7 @@
marks:
- patterntest
- negative
includes:
- !include ../../../common.yaml
......@@ -26,3 +27,4 @@
extra_kwargs:
method: "observer_community"
directory: "bridge_api_patterns/get_ranked_posts/hot"
error_response: true
[]
{
"code": -32602,
"data": "Account joeyarnoldvn does not exist",
"message": "Invalid parameters"
}
......@@ -3,6 +3,7 @@
marks:
- patterntest
- negative
includes:
- !include ../../../common.yaml
......@@ -26,3 +27,4 @@
extra_kwargs:
method: "observer_community"
directory: "bridge_api_patterns/get_ranked_posts/muted"
error_response: true
[]
{
"code": -32602,
"data": "Account joeyarnoldvn does not exist",
"message": "Invalid parameters"
}
......@@ -3,6 +3,7 @@
marks:
- patterntest
- negative
includes:
- !include ../../../common.yaml
......@@ -26,3 +27,4 @@
extra_kwargs:
method: "observer_community"
directory: "bridge_api_patterns/get_ranked_posts/payout"
error_response: true
[]
{
"code": -32602,
"data": "Account joeyarnoldvn does not exist",
"message": "Invalid parameters"
}
......@@ -3,6 +3,7 @@
marks:
- patterntest
- negative
includes:
- !include ../../../common.yaml
......@@ -26,3 +27,4 @@
extra_kwargs:
method: "observer_community"
directory: "bridge_api_patterns/get_ranked_posts/payout_comments"
error_response: true
[]
{
"code": -32602,
"data": "Account joeyarnoldvn does not exist",
"message": "Invalid parameters"
}
......@@ -3,6 +3,7 @@
marks:
- patterntest
- negative
includes:
- !include ../../../common.yaml
......@@ -26,3 +27,4 @@
extra_kwargs:
method: "observer_community"
directory: "bridge_api_patterns/get_ranked_posts/promoted"
error_response: true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment