repurpose an existing test status instead of adding a new one to avoid breaking other tests

This commit is contained in:
ewin 2025-03-05 14:59:14 -05:00
commit 8ef301c920
No known key found for this signature in database
2 changed files with 3 additions and 30 deletions

View file

@ -172,7 +172,7 @@ func (suite *StatusEditTestSuite) TestEditOnStatusWithNoContentType() {
// Get requester's existing status, which has no
// stored content type, to perform an edit on.
status := suite.testStatuses["local_account_1_status_10"]
status := suite.testStatuses["local_account_1_status_2"]
status, _ = suite.state.DB.GetStatusByID(ctx, status.ID)
// Prepare edit without setting a new content type.