mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-23 08:06:20 -06:00
update other api tests with status content type field
This commit is contained in:
parent
9384f25dd9
commit
3872315db0
5 changed files with 29 additions and 0 deletions
|
|
@ -145,6 +145,7 @@ func (suite *StatusBoostTestSuite) TestPostBoost() {
|
|||
"bookmarked": true,
|
||||
"card": null,
|
||||
"content": "hello world! #welcome ! first post on the instance :rainbow: !",
|
||||
"content_type": "text/plain",
|
||||
"created_at": "right the hell just now babyee",
|
||||
"edited_at": null,
|
||||
"emojis": [
|
||||
|
|
@ -331,6 +332,7 @@ func (suite *StatusBoostTestSuite) TestPostBoostOwnFollowersOnly() {
|
|||
"bookmarked": false,
|
||||
"card": null,
|
||||
"content": "hi!",
|
||||
"content_type": "text/plain",
|
||||
"created_at": "right the hell just now babyee",
|
||||
"edited_at": null,
|
||||
"emojis": [],
|
||||
|
|
@ -543,6 +545,7 @@ func (suite *StatusBoostTestSuite) TestPostBoostImplicitAccept() {
|
|||
"bookmarked": false,
|
||||
"card": null,
|
||||
"content": "<p>Hi <span class=\"h-card\"><a href=\"http://localhost:8080/@1happyturtle\" class=\"u-url mention\" rel=\"nofollow noreferrer noopener\" target=\"_blank\">@<span>1happyturtle</span></a></span>, can I reply?</p>",
|
||||
"content_type": "text/markdown",
|
||||
"created_at": "right the hell just now babyee",
|
||||
"edited_at": null,
|
||||
"emojis": [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue