mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-27 17:36:15 -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
|
|
@ -104,6 +104,7 @@ func (suite *StatusFaveTestSuite) TestPostFave() {
|
|||
"bookmarked": false,
|
||||
"card": null,
|
||||
"content": "🐕🐕🐕🐕🐕",
|
||||
"content_type": "text/plain",
|
||||
"created_at": "right the hell just now babyee",
|
||||
"edited_at": null,
|
||||
"emojis": [],
|
||||
|
|
@ -228,6 +229,7 @@ func (suite *StatusFaveTestSuite) TestPostFaveImplicitAccept() {
|
|||
"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