Rename fake param to preview and make the tests check that the object was not inserted to the db

This commit is contained in:
rinpatch 2019-04-02 14:31:18 +03:00
commit fdb4357e9b
3 changed files with 15 additions and 8 deletions

View file

@ -49,4 +49,4 @@ Has these additional fields under the `pleroma` object:
Additional parameters can be added to the JSON body:
- `fake`: boolean, if set to `true` the post won't be actually posted, but the status entitiy would still be rendered back. This could be useful for previewing rich text/custom emoji, for example.
- `preview`: boolean, if set to `true` the post won't be actually posted, but the status entitiy would still be rendered back. This could be useful for previewing rich text/custom emoji, for example.