From 75936b0c28454f81ba26b8f86b029aecf4abf478 Mon Sep 17 00:00:00 2001 From: ewin Date: Wed, 5 Mar 2025 17:35:40 -0500 Subject: [PATCH] check for the correct value in the deletion test --- internal/api/client/statuses/statusdelete_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/client/statuses/statusdelete_test.go b/internal/api/client/statuses/statusdelete_test.go index 57bd3f94f..d7efd5725 100644 --- a/internal/api/client/statuses/statusdelete_test.go +++ b/internal/api/client/statuses/statusdelete_test.go @@ -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)