summaryrefslogtreecommitdiff
path: root/internal/ap/extractpubkey_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/ap/extractpubkey_test.go')
-rw-r--r--internal/ap/extractpubkey_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/ap/extractpubkey_test.go b/internal/ap/extractpubkey_test.go
index ab4f38a22..c5807cd9d 100644
--- a/internal/ap/extractpubkey_test.go
+++ b/internal/ap/extractpubkey_test.go
@@ -18,7 +18,6 @@
package ap_test
import (
- "context"
"encoding/json"
"testing"
@@ -62,7 +61,7 @@ func (suite *ExtractPubKeyTestSuite) TestExtractPubKeyFromStub() {
suite.FailNow(err.Error())
}
- t, err := streams.ToType(context.Background(), m)
+ t, err := streams.ToType(suite.T().Context(), m)
if err != nil {
suite.FailNow(err.Error())
}