summaryrefslogtreecommitdiff
path: root/internal/processing/interactionrequests/accept_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/interactionrequests/accept_test.go')
-rw-r--r--internal/processing/interactionrequests/accept_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/processing/interactionrequests/accept_test.go b/internal/processing/interactionrequests/accept_test.go
index eae17b6d6..b48978f2c 100644
--- a/internal/processing/interactionrequests/accept_test.go
+++ b/internal/processing/interactionrequests/accept_test.go
@@ -18,7 +18,6 @@
package interactionrequests_test
import (
- "context"
"testing"
"code.superseriousbusiness.org/gotosocial/internal/gtsmodel"
@@ -36,7 +35,7 @@ func (suite *AcceptTestSuite) TestAccept() {
defer testrig.TearDownTestStructs(testStructs)
var (
- ctx = context.Background()
+ ctx = suite.T().Context()
state = testStructs.State
acct = suite.testAccounts["local_account_2"]
intReq = suite.testInteractionRequests["admin_account_reply_turtle"]