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

added test for list_account_recovery_requests

parent ec345fdf
No related branches found
No related tags found
No related merge requests found
......@@ -141,3 +141,10 @@
- method: "find_owner_histories"
- args: '{ "owner": "null" }'
- <<: *base_test
- test:
- name: "list_account_recovery_requests"
- variable_binds:
- method: "list_account_recovery_requests"
- args: '{ "start": "null", "limit": 1, "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": "string"
},
"account_to_recover": {
"type": "string"
},
"new_owner_authority": {
"type": "object",
"properties": {
"weight_threshold": {
"type": "integer"
},
"account_auths": {
"type": "array"
},
"key_auths": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": [
"integer",
"string"
]
}
}
}
},
"required": [
"account_auths",
"key_auths",
"weight_threshold"
]
},
"expires": {
"type": "string"
}
},
"required": [
"account_to_recover",
"expires",
"id",
"new_owner_authority"
]
}
}
},
"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