diff options
Diffstat (limited to 'internal/processing/workers/surfacenotify_test.go')
| -rw-r--r-- | internal/processing/workers/surfacenotify_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/processing/workers/surfacenotify_test.go b/internal/processing/workers/surfacenotify_test.go index 7acea2436..459b3e125 100644 --- a/internal/processing/workers/surfacenotify_test.go +++ b/internal/processing/workers/surfacenotify_test.go @@ -18,7 +18,6 @@ package workers_test import ( - "context" "sync" "testing" "time" @@ -50,7 +49,7 @@ func (suite *SurfaceNotifyTestSuite) TestSpamNotifs() { } var ( - ctx = context.Background() + ctx = suite.T().Context() notificationType = gtsmodel.NotificationFollow targetAccount = suite.testAccounts["local_account_1"] originAccount = suite.testAccounts["local_account_2"] |
