summaryrefslogtreecommitdiff
path: root/internal/ap/extractattachments_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/ap/extractattachments_test.go')
-rw-r--r--internal/ap/extractattachments_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/ap/extractattachments_test.go b/internal/ap/extractattachments_test.go
index f3af66708..362fa1a05 100644
--- a/internal/ap/extractattachments_test.go
+++ b/internal/ap/extractattachments_test.go
@@ -18,7 +18,6 @@
package ap_test
import (
- "context"
"encoding/json"
"testing"
@@ -59,7 +58,7 @@ func (suite *ExtractAttachmentsTestSuite) TestExtractDescription() {
suite.FailNow(err.Error())
}
- t, err := streams.ToType(context.Background(), raw)
+ t, err := streams.ToType(suite.T().Context(), raw)
if err != nil {
suite.FailNow(err.Error())
}