mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-23 04:56:16 -06:00
repurpose an existing test status instead of adding a new one to avoid breaking other tests
This commit is contained in:
parent
e02eb78cec
commit
8ef301c920
2 changed files with 3 additions and 30 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue