check for the correct value in the deletion test

This commit is contained in:
ewin 2025-03-05 17:35:40 -05:00
commit 75936b0c28
No known key found for this signature in database

View file

@ -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)