Skip to content

Commit

Permalink
fix: unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <[email protected]>
  • Loading branch information
vsukhin committed Oct 22, 2024
1 parent 89a0da2 commit 0b9e2f8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/triggers/executor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 0b9e2f8

Please sign in to comment.