From 64131265df3514229ddb6e17985e7c1d62be6733 Mon Sep 17 00:00:00 2001 From: Dawid Rusnak Date: Mon, 21 Oct 2024 10:33:14 +0200 Subject: [PATCH] fixup linting --- pkg/triggers/executor_test.go | 2 ++ pkg/triggers/service_test.go | 2 ++ 2 files changed, 4 insertions(+) diff --git a/pkg/triggers/executor_test.go b/pkg/triggers/executor_test.go index b56ffd0abd..ea4d2b3d84 100644 --- a/pkg/triggers/executor_test.go +++ b/pkg/triggers/executor_test.go @@ -33,6 +33,7 @@ import ( "github.com/kubeshop/testkube/pkg/repository/testresult" "github.com/kubeshop/testkube/pkg/scheduler" "github.com/kubeshop/testkube/pkg/secret" + "github.com/kubeshop/testkube/pkg/tcl/checktcl" "github.com/kubeshop/testkube/pkg/testworkflows/testworkflowexecutor" ) @@ -139,6 +140,7 @@ func TestExecute(t *testing.T) { "", "", "", + checktcl.SubscriptionChecker{}, ) s := &Service{ triggerStatus: make(map[statusKey]*triggerStatus), diff --git a/pkg/triggers/service_test.go b/pkg/triggers/service_test.go index 10266de270..1acd0d2be0 100644 --- a/pkg/triggers/service_test.go +++ b/pkg/triggers/service_test.go @@ -37,6 +37,7 @@ import ( "github.com/kubeshop/testkube/pkg/repository/testworkflow" "github.com/kubeshop/testkube/pkg/scheduler" "github.com/kubeshop/testkube/pkg/secret" + "github.com/kubeshop/testkube/pkg/tcl/checktcl" "github.com/kubeshop/testkube/pkg/testworkflows/executionworker/executionworkertypes" "github.com/kubeshop/testkube/pkg/testworkflows/testworkflowexecutor" ) @@ -157,6 +158,7 @@ func TestService_Run(t *testing.T) { "", "", "", + checktcl.SubscriptionChecker{}, ) mockLeaseBackend := NewMockLeaseBackend(mockCtrl)