summaryrefslogtreecommitdiff
path: root/internal/processing/preferences_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/preferences_test.go')
-rw-r--r--internal/processing/preferences_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/processing/preferences_test.go b/internal/processing/preferences_test.go
index dc6a8d878..daaaef5c6 100644
--- a/internal/processing/preferences_test.go
+++ b/internal/processing/preferences_test.go
@@ -18,7 +18,6 @@
package processing_test
import (
- "context"
"testing"
"code.superseriousbusiness.org/gotosocial/internal/api/model"
@@ -31,7 +30,7 @@ type PreferencesTestSuite struct {
}
func (suite *PreferencesTestSuite) TestPreferencesGet() {
- ctx := context.Background()
+ ctx := suite.T().Context()
tests := []struct {
act *gtsmodel.Account
prefs *model.Preferences