From 0b9e2f85fbb6e3d5d5381d449185bed134369cc9 Mon Sep 17 00:00:00 2001 From: Vladislav Sukhin Date: Tue, 22 Oct 2024 22:23:03 +0300 Subject: [PATCH] fix: unit test Signed-off-by: Vladislav Sukhin --- pkg/triggers/executor_test.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/triggers/executor_test.go b/pkg/triggers/executor_test.go index 7a4b14a10b..ea4d2b3d84 100644 --- a/pkg/triggers/executor_test.go +++ b/pkg/triggers/executor_test.go @@ -34,7 +34,6 @@ import ( "github.com/kubeshop/testkube/pkg/scheduler" "github.com/kubeshop/testkube/pkg/secret" "github.com/kubeshop/testkube/pkg/tcl/checktcl" - triggerstcl "github.com/kubeshop/testkube/pkg/tcl/testworkflowstcl/triggers" "github.com/kubeshop/testkube/pkg/testworkflows/testworkflowexecutor" ) @@ -211,8 +210,6 @@ func TestWorkflowExecute(t *testing.T) { "WATCHER_EVENT_NAMESPACE": "", "WATCHER_EVENT_RESOURCE": "", }, - // Pro edition only (tcl protected code) - RunningContext: triggerstcl.GetRunningContext("test-trigger-1"), } mockTestWorkflowExecution := testkube.TestWorkflowExecution{} mockTestWorkflowExecutor.EXPECT().Execute(gomock.Any(), mockTestWorkflow, mockTestWorkflowExecutionRequest).Return(mockTestWorkflowExecution, nil)