This is example of object singletone table which i trying to test:
{
"rows": [{
"account": "ins",
"first_approve": {
"first": "apk",
"second": 1
},
"second_approve": {
"first": "",
"second": 0
}
}
],
"more": false
}
Using testing library i try to check matching object:
REQUIRE_MATCHING_OBJECT(notary, mvo()("account", "ins")("first_approve", "")("second_approve", ""));
In which format i need add values to first_approve and second approve keys? Also am i correct using:
get_row_by_account(code,scope,table,acc)
For singletone table?