summaryrefslogtreecommitdiff
path: root/internal/ap/extractfocus_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/ap/extractfocus_test.go')
-rw-r--r--internal/ap/extractfocus_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/ap/extractfocus_test.go b/internal/ap/extractfocus_test.go
index e7f922930..3af2daa81 100644
--- a/internal/ap/extractfocus_test.go
+++ b/internal/ap/extractfocus_test.go
@@ -18,7 +18,6 @@
package ap_test
import (
- "context"
"encoding/json"
"fmt"
"testing"
@@ -33,7 +32,7 @@ type ExtractFocusTestSuite struct {
}
func (suite *ExtractFocusTestSuite) TestExtractFocus() {
- ctx := context.Background()
+ ctx := suite.T().Context()
type test struct {
data string