summaryrefslogtreecommitdiff
path: root/internal/admin/actions_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/admin/actions_test.go')
-rw-r--r--internal/admin/actions_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/admin/actions_test.go b/internal/admin/actions_test.go
index 653051612..6d5ddcf9c 100644
--- a/internal/admin/actions_test.go
+++ b/internal/admin/actions_test.go
@@ -49,7 +49,7 @@ func (suite *ActionsTestSuite) SetupSuite() {
func (suite *ActionsTestSuite) TestActionOverlap() {
var (
testStructs = testrig.SetupTestStructs(rMediaPath, rTemplatePath)
- ctx = context.Background()
+ ctx = suite.T().Context()
)
defer testrig.TearDownTestStructs(testStructs)
@@ -130,7 +130,7 @@ func (suite *ActionsTestSuite) TestActionOverlap() {
func (suite *ActionsTestSuite) TestActionWithErrors() {
var (
testStructs = testrig.SetupTestStructs(rMediaPath, rTemplatePath)
- ctx = context.Background()
+ ctx = suite.T().Context()
)
defer testrig.TearDownTestStructs(testStructs)