Skip to content
Snippets Groups Projects
Commit 811fb61b authored by Krzysztof Leśniak's avatar Krzysztof Leśniak
Browse files

add test for find_withdraw_vesting_routes

parent 73251940
No related branches found
Tags 0.19.35
No related merge requests found
......@@ -190,3 +190,10 @@
- method: "list_withdraw_vesting_routes"
- args: '{ "start": ["", ""], "limit": 10, "order": "by_withdraw_route" }'
- <<: *base_test
- test:
- name: "find_withdraw_vesting_routes"
- variable_binds:
- method: "find_withdraw_vesting_routes"
- args: '{ "account": "null", "order": "by_destination" }'
- <<: *base_test
{
"$schema": "http://json-schema.org/schema#",
"additionalProperties": false,
"type": "object",
"properties": {
"jsonrpc": {
"type": "string"
},
"result": {
"type": "object",
"properties": {
"routes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"from_account": {
"type": "string"
},
"to_account": {
"type": "string"
},
"percent": {
"type": "integer"
},
"auto_vest": {
"type": "boolean"
}
},
"required": [
"auto_vest",
"from_account",
"id",
"percent",
"to_account"
]
}
}
},
"required": [
"routes"
]
},
"id": {
"type": "integer"
}
},
"required": [
"id",
"jsonrpc",
"result"
]
}
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