Skip to content
Snippets Groups Projects

Mock tests for communities

Merged Mariusz Trela requested to merge mt-mock-communities into develop
2 files
+ 19
8
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -418,8 +418,8 @@
@@ -418,8 +418,8 @@
"parent_author": "",
"parent_author": "",
"parent_permlink": "hive-135485",
"parent_permlink": "hive-135485",
"author": "test-safari",
"author": "test-safari",
"permlink": "secrets",
"permlink": "secrets1",
"title": "Secrets",
"title": "Secrets1",
"body": "![7fa7d618acbe1313d323c0db42ecf211.jpg](https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg)",
"body": "![7fa7d618acbe1313d323c0db42ecf211.jpg](https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg)",
"json_metadata": "{\"image\":[\"https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg\"],\"app\":\"steemit\/0.1\",\"format\":\"markdown\"}"
"json_metadata": "{\"image\":[\"https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg\"],\"app\":\"steemit\/0.1\",\"format\":\"markdown\"}"
}
}
@@ -483,6 +483,17 @@
@@ -483,6 +483,17 @@
"body": "![7fa7d618acbe1313d323c0db42ecf211.jpg](https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg)",
"body": "![7fa7d618acbe1313d323c0db42ecf211.jpg](https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg)",
"json_metadata": "{\"image\":[\"https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg\"],\"app\":\"steemit\/0.1\",\"format\":\"markdown\"}"
"json_metadata": "{\"image\":[\"https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg\"],\"app\":\"steemit\/0.1\",\"format\":\"markdown\"}"
}
}
 
},
 
{
 
"type": "custom_json_operation",
 
"value": {
 
"required_auths": [],
 
"required_posting_auths": [
 
"hive-135485"
 
],
 
"id": "community",
 
"json": "[\"setRole\",{\"community\":\"hive-135485\",\"account\":\"test-safari\",\"role\":\"admin\"}]"
 
}
}
}
],
],
"extensions": [],
"extensions": [],
@@ -571,7 +582,7 @@
@@ -571,7 +582,7 @@
"test-safari"
"test-safari"
],
],
"id": "community",
"id": "community",
"json": "[\"mutePost\",{\"community\":\"hive-135485\",\"account\":\"test-safari\",\"permlink\":\"secrets\",\"notes\":\"spamming\"}]"
"json": "[\"mutePost\",{\"community\":\"hive-135485\",\"account\":\"test-safari\",\"permlink\":\"secrets1\",\"notes\":\"spamming\"}]"
}
}
},
},
{
{
@@ -582,7 +593,7 @@
@@ -582,7 +593,7 @@
"test-safari"
"test-safari"
],
],
"id": "community",
"id": "community",
"json": "[\"unmutePost\",{\"community\":\"hive-135485\",\"account\":\"test-safari\",\"permlink\":\"secrets\",\"notes\":\"testibgn\"}]"
"json": "[\"unmutePost\",{\"community\":\"hive-135485\",\"account\":\"test-safari\",\"permlink\":\"secrets1\",\"notes\":\"testibgn\"}]"
}
}
},
},
{
{
@@ -593,7 +604,7 @@
@@ -593,7 +604,7 @@
"test-safari"
"test-safari"
],
],
"id": "community",
"id": "community",
"json": "[\"pinPost\",{\"community\":\"hive-135485\",\"account\":\"test-safari\",\"permlink\":\"secrets\"}]"
"json": "[\"pinPost\",{\"community\":\"hive-135485\",\"account\":\"test-safari\",\"permlink\":\"secrets1\"}]"
}
}
},
},
{
{
@@ -604,7 +615,7 @@
@@ -604,7 +615,7 @@
"test-safari"
"test-safari"
],
],
"id": "community",
"id": "community",
"json": "[\"unpinPost\",{\"community\":\"hive-135485\",\"account\":\"test-safari\",\"permlink\":\"secrets\"}]"
"json": "[\"unpinPost\",{\"community\":\"hive-135485\",\"account\":\"test-safari\",\"permlink\":\"secrets1\"}]"
}
}
},
},
{
{
@@ -615,7 +626,7 @@
@@ -615,7 +626,7 @@
"test-safari"
"test-safari"
],
],
"id": "community",
"id": "community",
"json": "[\"flagPost\",{\"community\":\"hive-135485\",\"account\":\"test-safari\",\"permlink\":\"secrets\",\"comment\":\"This is not a kitten..\"}]"
"json": "[\"flagPost\",{\"community\":\"hive-135485\",\"account\":\"test-safari\",\"permlink\":\"secrets1\",\"notes\":\"This is not a kitten..\"}]"
}
}
}
}
]
]
Loading