summaryrefslogtreecommitdiff
path: root/internal/api/client/statuses/statusdelete_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/statuses/statusdelete_test.go')
-rw-r--r--internal/api/client/statuses/statusdelete_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/api/client/statuses/statusdelete_test.go b/internal/api/client/statuses/statusdelete_test.go
index 6f62ef45f..d7efd5725 100644
--- a/internal/api/client/statuses/statusdelete_test.go
+++ b/internal/api/client/statuses/statusdelete_test.go
@@ -77,6 +77,10 @@ func (suite *StatusDeleteTestSuite) TestPostDelete() {
suite.NoError(err)
suite.NotNil(statusReply)
+ // Check that text and content type are returned for delete and redraft
+ suite.Equal("hello everyone!", statusReply.Text)
+ suite.Equal(apimodel.StatusContentTypePlain, statusReply.ContentType)
+
if !testrig.WaitFor(func() bool {
_, err := suite.db.GetStatusByID(ctx, targetStatus.ID)
return errors.Is(err, db.ErrNoEntries)