summaryrefslogtreecommitdiff
path: root/internal/db/bundb/errors_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/db/bundb/errors_test.go')
-rw-r--r--internal/db/bundb/errors_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/db/bundb/errors_test.go b/internal/db/bundb/errors_test.go
index a235e185b..b90e3b5e6 100644
--- a/internal/db/bundb/errors_test.go
+++ b/internal/db/bundb/errors_test.go
@@ -18,7 +18,6 @@
package bundb_test
import (
- "context"
"errors"
"testing"
@@ -38,7 +37,7 @@ func (suite *ErrorsTestSuite) TestErrorAlreadyExists() {
}
var (
- ctx = context.Background()
+ ctx = suite.T().Context()
initialFollow = &gtsmodel.Follow{
ID: "01HD11D8JH5V64GJRFDA7VFNDX",
URI: "https://example.org/unique_uri",