mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-22 22:56:15 -06:00
check for the correct value in the deletion test
This commit is contained in:
parent
11c1c837cc
commit
75936b0c28
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ func (suite *StatusDeleteTestSuite) TestPostDelete() {
|
|||
|
||||
// Check that text and content type are returned for delete and redraft
|
||||
suite.Equal("hello everyone!", statusReply.Text)
|
||||
suite.Equal("text/plain", statusReply.ContentType)
|
||||
suite.Equal(apimodel.StatusContentTypePlain, statusReply.ContentType)
|
||||
|
||||
if !testrig.WaitFor(func() bool {
|
||||
_, err := suite.db.GetStatusByID(ctx, targetStatus.ID)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue