Skip to content
Snippets Groups Projects
Commit f4118f68 authored by Dariusz Kędzierski's avatar Dariusz Kędzierski
Browse files

Tests for mock data

parent fdd8326d
No related branches found
No related tags found
2 merge requests!456Release candidate v1 24,!361Extended mock follow tests
...@@ -271,6 +271,12 @@ tags_api_smoketest_negative: ...@@ -271,6 +271,12 @@ tags_api_smoketest_negative:
script: script:
- scripts/ci_start_api_smoketest.sh localhost "$HIVEMIND_HTTP_PORT" tags_api_negative/ api_smoketest_tags_api_negative.xml - scripts/ci_start_api_smoketest.sh localhost "$HIVEMIND_HTTP_PORT" tags_api_negative/ api_smoketest_tags_api_negative.xml
mock_tests:
<<: *common_api_smoketest_job
script:
- scripts/ci_start_api_smoketest.sh localhost "$HIVEMIND_HTTP_PORT" mock_tests/ api_smoketest_mock_tests.xml
api_smoketest_benchmark: api_smoketest_benchmark:
stage: benchmark-tests stage: benchmark-tests
environment: hive-4.pl.syncad.com environment: hive-4.pl.syncad.com
......
...@@ -752,7 +752,70 @@ ...@@ -752,7 +752,70 @@
"transaction_merkle_root": "0000000000000000000000000000000000000000", "transaction_merkle_root": "0000000000000000000000000000000000000000",
"extensions": [], "extensions": [],
"witness_signature": "", "witness_signature": "",
"transactions": [], "transactions": [
{
"ref_block_num": 100001,
"ref_block_prefix": 1,
"expiration": "2020-03-23T12:17:00",
"operations": [
{
"type": "custom_json_operation",
"value": {
"required_auths": [],
"required_posting_auths": [
"tester1"
],
"id": "follow",
"json": "[\"follow\",{\"follower\":\"tester1\",\"following\":\"tester2\",\"what\":[\"blog\"]}]"
}
},
{
"type": "custom_json_operation",
"value": {
"required_auths": [],
"required_posting_auths": [
"tester2"
],
"id": "follow",
"json": "[\"follow\",{\"follower\":\"tester2\",\"following\":[\"tester3\", \"tester4\"],\"what\":[\"blog\"]}]"
}
},
{
"type": "custom_json_operation",
"value": {
"required_auths": [],
"required_posting_auths": [
"tester3"
],
"id": "follow",
"json": "[\"follow\",{\"follower\":\"tester3\",\"following\":[\"tester4\"],\"what\":[\"blog\"]}]"
}
},
{
"type": "custom_json_operation",
"value": {
"required_auths": [],
"required_posting_auths": [
"tester4"
],
"id": "follow",
"json": "[\"follow\",{\"follower\":\"tester4\",\"following\":[\"tester5\", \"tester1\"],\"what\":[\"blog\"]}]"
}
},
{
"type": "custom_json_operation",
"value": {
"required_auths": [],
"required_posting_auths": [
"tester5"
],
"id": "follow",
"json": "[\"follow\",{\"follower\":\"tester5\",\"following\":[\"tester1\", \"tester2\"],\"what\":[\"blog\"]}]"
}
}
]
}
],
"block_id": "004c4b4e00000000000000000000000000000000", "block_id": "004c4b4e00000000000000000000000000000000",
"signing_key": "", "signing_key": "",
"transaction_ids": [] "transaction_ids": []
......
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