summaryrefslogtreecommitdiff
path: root/internal/processing/status/bookmark_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/status/bookmark_test.go')
-rw-r--r--internal/processing/status/bookmark_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/internal/processing/status/bookmark_test.go b/internal/processing/status/bookmark_test.go
index f5ea60fe6..ad441ca0c 100644
--- a/internal/processing/status/bookmark_test.go
+++ b/internal/processing/status/bookmark_test.go
@@ -18,7 +18,6 @@
package status_test
import (
- "context"
"testing"
"github.com/stretchr/testify/suite"
@@ -29,7 +28,7 @@ type StatusBookmarkTestSuite struct {
}
func (suite *StatusBookmarkTestSuite) TestBookmark() {
- ctx := context.Background()
+ ctx := suite.T().Context()
// bookmark a status
bookmarkingAccount1 := suite.testAccounts["local_account_1"]
@@ -43,7 +42,7 @@ func (suite *StatusBookmarkTestSuite) TestBookmark() {
}
func (suite *StatusBookmarkTestSuite) TestUnbookmark() {
- ctx := context.Background()
+ ctx := suite.T().Context()
// bookmark a status
bookmarkingAccount1 := suite.testAccounts["local_account_1"]