Skip to content
Snippets Groups Projects
Commit c409834d authored by Andrzej Lisak's avatar Andrzej Lisak
Browse files

[ABW]: patterns for get_relationship_between_accounts changed to match rename of one field

parent a069cbb5
No related branches found
No related tags found
1 merge request!192Changes in tests to match hivemind branch of the same name
Showing
with 71 additions and 34 deletions
{
"follows": false,
"follows_blacklists": false,
"ignores": false,
"is_blacklisted": false
}
{
"blacklists": false,
"follows": false,
"follows_blacklists": true,
"ignores": false
}
---
test_name: Hivemind bridge_api.get_relationship_between_accounts follows patterns test
marks:
- patterntest # relies on mock data
includes:
- !include ../../common.yaml
stages:
- name: get_relationship_between_accounts follows
request:
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "bridge.get_relationship_between_accounts"
params: {"account1": "alice", "account2": "hivewatchers"}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "alice"
directory: "bridge_api_patterns/get_relationship_between_accounts"
{
"blacklists": false,
"follows": false,
"follows_blacklists": false,
"ignores": false,
"is_blacklisted": false
"ignores": false
}
{
"follows": true,
"follows_blacklists": false,
"ignores": false,
"is_blacklisted": false
}
\ No newline at end of file
"blacklists": false,
"follows": true,
"follows_blacklists": false,
"ignores": false
}
{
"follows": false,
"follows_blacklists": false,
"ignores": true,
"is_blacklisted": false
}
\ No newline at end of file
"blacklists": false,
"follows": false,
"follows_blacklists": false,
"ignores": true
}
{
"follows": false,
"follows_blacklists": false,
"ignores": true,
"is_blacklisted": false
}
\ No newline at end of file
"blacklists": false,
"follows": false,
"follows_blacklists": false,
"ignores": true
}
{
"follows": false,
"follows_blacklists": false,
"ignores": false,
"is_blacklisted": false
}
\ No newline at end of file
"blacklists": false,
"follows": false,
"follows_blacklists": false,
"ignores": false
}
{
"blacklists": false,
"follows": true,
"follows_blacklists": false,
"ignores": false,
"is_blacklisted": false
"ignores": false
}
{
"blacklists": false,
"follows": false,
"follows_blacklists": false,
"ignores": true,
"is_blacklisted": false
"ignores": true
}
{
"blacklists": false,
"follows": false,
"follows_blacklists": false,
"ignores": true,
"is_blacklisted": false
"ignores": true
}
{
"blacklists": false,
"follows": false,
"follows_blacklists": false,
"ignores": false,
"is_blacklisted": false
"ignores": false
}
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