Commit 3766670e authored by Andrzej Lisak's avatar Andrzej Lisak

[ABW]: removed duplicate test that was moved to separate folder

added .orig files to new tests
accepted typical differences in new patterns: rshares/weight expressed as numbers instead of strings
parent fc56d9fa
{
"code": -32000,
"data": {
"code": 13,
"message": "unknown key",
"name": "N5boost16exception_detail10clone_implINS0_19error_info_injectorISt12out_of_rangeEEEE",
"stack": [
{
"context": {
"file": "database.cpp",
"hostname": "",
"level": "warn",
"line": 606,
"method": "get_comment",
"timestamp": "2020-09-14T18:32:20"
},
"data": {
"author": "noodhoog",
"permlink": "",
"what": "unknown key"
},
"format": "${what}: "
}
]
},
"message": "unknown key:unknown key: "
}
{
"code": -32000,
"data": {
"code": 13,
"message": "unknown key",
"name": "N5boost16exception_detail10clone_implINS0_19error_info_injectorISt12out_of_rangeEEEE",
"stack": [
{
"context": {
"file": "database.cpp",
"hostname": "",
"level": "warn",
"line": 606,
"method": "get_comment"
},
"data": {
"author": "noodhoog",
"permlink": "",
"what": "unknown key"
},
"format": "${what}: "
}
]
},
"message": "unknown key:unknown key: "
}
\ No newline at end of file
"code": -32602,
"data": "permlink cannot be blank",
"message": "Invalid parameters"
}
......@@ -28,4 +28,3 @@
method: "author"
directory: "condenser_api_negative/get_active_votes"
error_response: true
ignore_tags: ["timestamp"]
\ No newline at end of file
{
"code": -32000,
"data": {
"code": 13,
"message": "unknown key",
"name": "N5boost16exception_detail10clone_implINS0_19error_info_injectorISt12out_of_rangeEEEE",
"stack": [
{
"context": {
"file": "database.cpp",
"hostname": "",
"level": "warn",
"line": 606,
"method": "get_comment",
"timestamp": "2020-09-14T18:32:20"
},
"data": {
"author": "",
"permlink": "",
"what": "unknown key"
},
"format": "${what}: "
}
]
},
"message": "unknown key:unknown key: "
}
{
"code": -32000,
"data": {
"code": 13,
"message": "unknown key",
"name": "N5boost16exception_detail10clone_implINS0_19error_info_injectorISt12out_of_rangeEEEE",
"stack": [
{
"context": {
"file": "database.cpp",
"hostname": "",
"level": "warn",
"line": 606,
"method": "get_comment",
"timestamp": "2020-09-14T09:36:25"
},
"data": {
"author": "",
"permlink": "",
"what": "unknown key"
},
"format": "${what}: "
}
]
},
"message": "unknown key:unknown key: "
"code": -32602,
"data": "invalid account (not specified)",
"message": "Invalid parameters"
}
......@@ -28,4 +28,3 @@
method: "no_data"
directory: "condenser_api_negative/get_active_votes"
error_response: true
ignore_tags: ["timestamp"]
\ No newline at end of file
{
"code": -32003,
"data": {
"code": 10,
"message": "Assert Exception",
"name": "assert_exception",
"stack": [
{
"context": {
"file": "condenser_api.cpp",
"hostname": "",
"level": "error",
"line": 1266,
"method": "get_active_votes",
"timestamp": "2020-09-14T18:32:20"
},
"data": {
"n": 3
},
"format": "args.size() == 2: Expected #s argument(s), was ${n}"
}
]
},
"message": "Assert Exception:args.size() == 2: Expected #s argument(s), was 3"
}
{
"code": -32003,
"data": {
"code": 10,
"message": "Assert Exception",
"name": "assert_exception",
"stack": [
{
"context": {
"file": "condenser_api.cpp",
"hostname": "",
"level": "error",
"line": 1266,
"method": "get_active_votes"
},
"data": {
"n": 3
},
"format": "args.size() == 2: Expected #s argument(s), was ${n}"
}
]
},
"message": "Assert Exception:args.size() == 2: Expected #s argument(s), was 3"
}
\ No newline at end of file
"code": -32602,
"data": "too many positional arguments",
"message": "Invalid parameters"
}
......@@ -28,4 +28,3 @@
method: "three_args"
directory: "condenser_api_negative/get_active_votes"
error_response: true
ignore_tags: ["timestamp"]
\ No newline at end of file
{
"code": -32000,
"data": {
"code": 13,
"message": "unknown key",
"name": "N5boost16exception_detail10clone_implINS0_19error_info_injectorISt12out_of_rangeEEEE",
"stack": [
{
"context": {
"file": "database.cpp",
"hostname": "",
"level": "warn",
"line": 606,
"method": "get_comment",
"timestamp": "2020-09-14T18:32:20"
},
"data": {
"author": "ciao",
"permlink": "re-the-amazing-mr-hydde-20160811t213717",
"what": "unknown key"
},
"format": "${what}: "
}
]
},
"message": "unknown key:unknown key: "
}
{
"code": -32000,
"data": {
"code": 13,
"message": "unknown key",
"name": "N5boost16exception_detail10clone_implINS0_19error_info_injectorISt12out_of_rangeEEEE",
"stack": [
{
"context": {
"file": "database.cpp",
"hostname": "",
"level": "warn",
"line": 606,
"method": "get_comment"
},
"data": {
"author": "ciao",
"permlink": "re-the-amazing-mr-hydde-20160811t213717",
"what": "unknown key"
},
"format": "${what}: "
}
]
},
"message": "unknown key:unknown key: "
"code": -32602,
"data": "Post ciao/re-the-amazing-mr-hydde-20160811t213717 does not exist",
"message": "Invalid parameters"
}
......@@ -28,4 +28,3 @@
method: "wrong_author"
directory: "condenser_api_negative/get_active_votes"
error_response: true
ignore_tags: ["timestamp"]
\ No newline at end of file
[
{
"percent": 10000,
"reputation": 0,
"rshares": 0,
"time": "2016-08-20T02:59:39",
"voter": "endgame",
"weight": 0
},
{
"percent": 10000,
"reputation": 0,
"rshares": "28030089381",
"time": "2016-07-19T20:00:30",
"voter": "biophil",
"weight": 0
},
{
"percent": 10000,
"reputation": 0,
"rshares": 52512184,
"time": "2016-07-19T20:01:15",
"voter": "seagul",
"weight": "5970197932869"
}
]
\ No newline at end of file
[
{
"percent": 10000,
"reputation": 0,
"rshares": 0,
"time": "2016-08-20T02:59:39",
"voter": "endgame",
"weight": 0
},
{
"percent": 10000,
"reputation": 0,
"rshares": 28030089381,
"time": "2016-07-19T20:00:30",
"voter": "biophil",
"weight": 0
},
{
"percent": 10000,
"reputation": 0,
"rshares": 52512184,
"time": "2016-07-19T20:01:15",
"voter": "seagul",
"weight": 5970197932869
}
]
[
{
"percent": 10000,
"reputation": 0,
"rshares": "23144734651998",
"time": "2016-07-15T12:15:03",
"voter": "dantheman",
"weight": "3158168661139596140"
},
{
"percent": 10000,
"reputation": 0,
"rshares": "632052917841",
"time": "2016-07-15T08:42:24",
"voter": "anonymous",
"weight": "242896928104345789"
},
{
"percent": 10000,
"reputation": 0,
"rshares": "17354117667980",
"time": "2016-07-15T22:56:45",
"voter": "rainman",
"weight": "540650925068841983"
},
{
"percent": 10000,
"reputation": 0,
"rshares": "8370770064044",
"time": "2016-07-15T08:42:18",
"voter": "pharesim",
"weight": "12423167004399239872"
},
{
"percent": 10000,
"reputation": 0,
"rshares": "163107506411",
"time": "2016-07-15T22:56:45",
"voter": "svk",
"weight": "3552937078625098"
},
{
"percent": 10000,
"reputation": 0,
"rshares": "1159039780633",
"time": "2016-07-15T08:42:21",
"voter": "xeroc",
"weight": "509831902209827356"
},
{
"percent": 10000,
"reputation": 0,
"rshares": "5231058255253",
"time": "2016-07-16T06:12:12",
"voter": "complexring",
"weight": "84440496216507093"
},
{
"percent": 10000,
"reputation": 0,
"rshares": "4673732021514",
"time": "2016-07-15T22:56:48",
"voter": "witness.svk",
"weight": "93985310415382959"
},
{
"percent": 10000,
"reputation": 0,
"rshares": "581789739514",
"time": "2016-07-16T11:06:00",
"voter": "joseph",
"weight": "8565752220552935"
},
{
"percent": 10000,
"reputation": 0,
"rshares": "2456363925986",
"time": "2016-07-15T21:17:18",
"voter": "donkeypong",
"weight": "116138826621483045"
},
{
"percent": 10000,
"reputation": 0,
"rshares": "8524556923",
"time": "2016-07-15T22:56:45",
"voter": "fbsvk",
"weight": "186237092674822"
},
{
"percent": 10000,
"reputation": 0,
"rshares": "64093006844",
"time": "2016-07-15T14:22:18",
"voter": "pnc",
"weight": "3301830370444350"
},
{
"percent": 10000,
"reputation": 0,
"rshares": "6973412416",
"time": "2016-07-17T16:42:57",
"voter": "dylan-nicholas",
"weight": 0
},
{
"percent": 10000,
"reputation": 0,
"rshares": 538687101,
"time": "2016-07-16T03:44:33",
"voter": "finfree",
"weight": "9456139033140"
},
{
"percent": 10000,
"reputation": 0,
"rshares": 1346329392,
"time": "2016-07-15T13:46:42",
"voter": "cryptorune",
"weight": "69531596344983"
},
{
"percent": 10000,
"reputation": 0,
"rshares": "229372755168",
"time": "2016-07-16T03:26:06",
"voter": "gavvet",
"weight": "4040749389759419"
},
{
"percent": 10000,
"reputation": 0,
"rshares": "94749428143",
"time": "2016-07-15T22:56:51",
"voter": "bbqbear",
"weight": "1761243292160774"
},
{
"percent": 10000,
"reputation": 0,
"rshares": 265410644,
"time": "2016-07-17T07:55:15",
"voter": "algo-rythm",
"weight": 0
},
{
"percent": 10000,
"reputation": 0,
"rshares": "6969920034",
"time": "2016-07-15T18:58:21",
"voter": "jerome-colley",
"weight": "351525921152571"
},
{
"percent": 10000,
"reputation": 0,
"rshares": 2607060834,
"time": "2016-07-15T23:18:45",
"voter": "tie-warutho",
"weight": "46680776455185"
},
{
"percent": 10000,
"reputation": 0,
"rshares": 424965841,
"time": "2016-07-15T12:07:39",
"voter": "dmitry",
"weight": "151181481289808"
},
{
"percent": 10000,
"reputation": 0,
"rshares": 59890331,
"time": "2016-07-24T06:31:57",
"voter": "akaninyene-etuk",
"weight": 0
},
{
"percent": 10000,
"reputation": 0,
"rshares": "24624016807",
"time": "2016-07-18T02:12:09",
"voter": "judyhopps",
"weight": 0
},
{
"percent": 10000,
"reputation": 0,
"rshares": "14377796258",
"time": "2016-07-15T14:28:45",
"voter": "justtryme90",
"weight": "739146254432020"
},
{
"percent": 10000,
"reputation": 0,
"rshares": 970224536,
"time": "2016-07-16T09:38:03",
"voter": "robi-rusmana",
"weight": "14407571083704"
},
{
"percent": 10000,
"reputation": 0,
"rshares": "184943135280",
"time": "2016-07-15T12:17:45",
"voter": "taoteh1221",
"weight": "9632468889222680"
},
{
"percent": 10000,
"reputation": 0,
"rshares": "194601288991",
"time": "2016-07-16T02:46:00",
"voter": "churdtzu",
"weight": "3456383714402894"
},
{
"percent": 10000,
"reputation": 0,
"rshares": 315315846,
"time": "2016-07-15T17:02:21",
"voter": "siska-dewi",
"weight": "15995342730639"
},
{
"percent": 10000,
"reputation": 0,
"rshares": 287318525,
"time": "2016-07-15T17:06:45",
"voter": "fitri-kidul",
"weight": "14572520713378"
},
{
"percent": 10000,
"reputation": 0,
"rshares": "26398943605",
"time": "2016-07-15T15:03:06",
"voter": "wongshiying",
"weight": "1346975184557174"
},
{
"percent": 10000,
"reputation": 0,
"rshares": "119947441882",
"time": "2016-07-15T15:00:12",
"voter": "changby",
"weight": "6143907355191644"
},
{
"percent": 10000,
"reputation": 0,
"rshares": "204206581141",
"time": "2016-07-16T04:44:30",
"voter": "kaylinart",
"weight": "3573088513912911"
},
{
"percent": -10000,
"reputation": 0,
"rshares": -52462021455,
"time": "2016-07-16T04:11:03",
"voter": "jacobt",
"weight": 0
},
{
"percent": 10000,
"reputation": 0,
"rshares": "203029605717",
"time": "2016-07-15T10:36:18",
"voter": "trogdor",
"weight": "73263400193931674"
},
{
"percent": 10000,
"reputation": 0,
"rshares": "10112485667",
"time": "2016-07-15T16:39:15",
"voter": "michaelx",
"weight": "515131486171986"
},
{
"percent": 10000,
"reputation": 0,
"rshares": "74004343299",
"time": "2016-07-15T16:41:06",
"voter": "thedashguy",
"weight": "3761477418015973"
},
{
"percent": 10000,
"reputation": 0,
"rshares": "57760346745",
"time": "2016-07-15T23:42:00",
"voter": "business",
"weight": "1032778374124426"
},
{
"percent": 10000,
"reputation": 0,
"rshares": 497959211,
"time": "2016-07-16T03:17:54",
"voter": "ethbull",
"weight": "8803521031751"
},
{
"percent": 10000,
"reputation": 0,
"rshares": "1135148374938",
"time": "2016-07-15T23:05:45",
"voter": "sean-king",
"weight": "20696313038561087"
},
{
"percent": 10000,
"reputation": 0,
"rshares": "9521669419",
"time": "2016-07-16T10:35:27",
"voter": "romaan-namoor",
"weight"