diff --git a/hivemind/tavern/database_api_patterns/list_comments_not_found_by_account.pat.json b/hivemind/tavern/database_api_patterns/list_comments_not_found_by_account.pat.json index 9eafe3686fc1b10d0210cd04e4f1cf9847f2e960..dbfe2840fe12fff47bd8262c9846c08c25ceb3f9 100644 --- a/hivemind/tavern/database_api_patterns/list_comments_not_found_by_account.pat.json +++ b/hivemind/tavern/database_api_patterns/list_comments_not_found_by_account.pat.json @@ -1,25 +1,5 @@ { - "code": -32003, - "data": { - "code": 10, - "message": "Assert Exception", - "name": "assert_exception", - "stack": [ - { - "context": { - "file": "database_api.cpp", - "hostname": "", - "level": "error", - "line": 1015, - "method": "list_comments" - }, - "data": { - "a": "etcmike", - "p": "" - }, - "format": "comment != nullptr: Could not find comment ${a}/${p}." - } - ] - }, - "message": "Assert Exception:comment != nullptr: Could not find comment etcmike/." + "code": -32602, + "data": "Post etcmike/ does not exist", + "message": "Invalid parameters" } diff --git a/hivemind/tavern/database_api_patterns/list_comments_not_found_by_permlink.pat.json b/hivemind/tavern/database_api_patterns/list_comments_not_found_by_permlink.pat.json index bd04ca30ed2bbe4cc0b99e1d6d5beee82d8b850f..bc13acdfa1689e45c9b80613af1ba9fede70cb9d 100644 --- a/hivemind/tavern/database_api_patterns/list_comments_not_found_by_permlink.pat.json +++ b/hivemind/tavern/database_api_patterns/list_comments_not_found_by_permlink.pat.json @@ -1,25 +1,5 @@ { - "code": -32003, - "data": { - "code": 10, - "message": "Assert Exception", - "name": "assert_exception", - "stack": [ - { - "context": { - "file": "database_api.cpp", - "hostname": "", - "level": "error", - "line": 1015, - "method": "list_comments" - }, - "data": { - "a": "", - "p": "re-bullionstackers-screen-it-tab-it-what-are-they-20160829t061254603z" - }, - "format": "comment != nullptr: Could not find comment ${a}/${p}." - } - ] - }, - "message": "Assert Exception:comment != nullptr: Could not find comment /re-bullionstackers-screen-it-tab-it-what-are-they-20160829t061254603z." + "code": -32602, + "data": "Post /re-bullionstackers-screen-it-tab-it-what-are-they-20160829t061254603z does not exist", + "message": "Invalid parameters" } diff --git a/hivemind/tavern/test_database_api_patterns.tavern.yaml b/hivemind/tavern/test_database_api_patterns.tavern.yaml index 5822542691020e90528de3429b29f5ad3569e5de..d5428174a9b29e9a589813041fca1fd7299bab8a 100644 --- a/hivemind/tavern/test_database_api_patterns.tavern.yaml +++ b/hivemind/tavern/test_database_api_patterns.tavern.yaml @@ -4,8 +4,6 @@ test_name: Hivemind database_api.list_comments patterns test order "by_cashout_t marks: - patterntest - - failing - - xfail # should show error when there is only one of optional value (first) includes: - !include common.yaml @@ -41,8 +39,6 @@ test_name: Hivemind database_api.list_comments patterns test order "by_cashout_t marks: - patterntest - - failing - - xfail # should show error when there is only one of optional value (second) includes: - !include common.yaml