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

added test for list_change_recovery_account_requests

parent ed158ec8
No related branches found
No related tags found
No related merge requests found
...@@ -155,3 +155,10 @@ ...@@ -155,3 +155,10 @@
- method: "find_account_recovery_requests" - method: "find_account_recovery_requests"
- args: '{ "accounts": ["null"] }' - args: '{ "accounts": ["null"] }'
- <<: *base_test - <<: *base_test
- test:
- name: "list_change_recovery_account_requests"
- variable_binds:
- method: "list_change_recovery_account_requests"
- args: '{ "start": "", "limit": 2, "order": "by_account" }'
- <<: *base_test
{
"$schema": "http://json-schema.org/schema#",
"additionalProperties": false,
"type": "object",
"properties": {
"jsonrpc": {
"type": "string"
},
"result": {
"type": "object",
"properties": {
"requests": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"account_to_recover": {
"type": "string"
},
"recovery_account": {
"type": "string"
},
"effective_on": {
"type": "string"
}
},
"required": [
"account_to_recover",
"effective_on",
"id",
"recovery_account"
]
}
}
},
"required": [
"requests"
]
},
"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