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

added test for find_owner_histories

parent 12f93e14
Branches bridge_get_account_posts
No related tags found
No related merge requests found
......@@ -134,3 +134,10 @@
- method: "list_owner_histories"
- args: '{ "start": ["null", "1970-01-01T00:00:00"], "limit": 1 }'
- <<: *base_test
- test:
- name: "find_owner_histories"
- variable_binds:
- method: "find_owner_histories"
- args: '{ "owner": "null" }'
- <<: *base_test
{
"$schema": "http://json-schema.org/schema#",
"additionalProperties": false,
"type": "object",
"properties": {
"jsonrpc": {
"type": "string"
},
"result": {
"type": "object",
"properties": {
"owner_auths": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"account": {
"type": "string"
},
"previous_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"
]
},
"last_valid_time": {
"type": "string"
}
},
"required": [
"account",
"id",
"last_valid_time",
"previous_owner_authority"
]
}
}
},
"required": [
"owner_auths"
]
},
"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