Skip to content

Commit 79d360d

Browse files
|Fixed failing decomposer test after rebase
1 parent 9f91cb4 commit 79d360d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unittest/decomposer/decomposer_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ func TestExecuteIfCondition(t *testing.T) {
589589
metaStepIf := execution.Metadata{ExecutionId: executionId, PlaybookId: "test", StepId: stepIf.ID}
590590

591591
uuid_mock.On("New").Return(executionId)
592-
mock_reporter.On("ReportWorkflow", executionId, playbook).Return()
592+
mock_reporter.On("ReportWorkflowStart", executionId, playbook).Return()
593593

594594
mock_condition_executor.On("Execute",
595595
metaStepIf,
@@ -623,7 +623,7 @@ func TestExecuteIfCondition(t *testing.T) {
623623
mock_action_executor.On("Execute",
624624
metaStepCompletion,
625625
stepCompletionDetails).Return(cacao.NewVariables(), nil)
626-
626+
mock_reporter.On("ReportWorkflowEnd", executionId, playbook, nil).Return()
627627
details, err := decomposer.Execute(playbook)
628628
uuid_mock.AssertExpectations(t)
629629
fmt.Println(err)

0 commit comments

Comments
 (0)