@@ -214,7 +214,7 @@ func TestHookRunWithoutPayloadProcessNodeBuildParameter(t *testing.T) {
214
214
assert .NoError (t , err )
215
215
wr .Workflow = w
216
216
217
- _ , errR := workflow .StartWorkflowRun (context .TODO (), db , cache , * proj , wr , & opts , consumer , nil )
217
+ _ , errR := workflow .StartWorkflowRun (context .TODO (), db , cache , * proj , wr , & opts , * consumer , nil )
218
218
assert .NoError (t , errR )
219
219
220
220
assert .Equal (t , 1 , len (wr .WorkflowNodeRuns ))
@@ -399,7 +399,7 @@ func TestHookRunWithHashOnlyProcessNodeBuildParameter(t *testing.T) {
399
399
assert .NoError (t , err )
400
400
wr .Workflow = w
401
401
402
- _ , errR := workflow .StartWorkflowRun (context .TODO (), db , cache , * proj , wr , opts , consumer , nil )
402
+ _ , errR := workflow .StartWorkflowRun (context .TODO (), db , cache , * proj , wr , opts , * consumer , nil )
403
403
assert .NoError (t , errR )
404
404
405
405
assert .Equal (t , 1 , len (wr .WorkflowNodeRuns ))
@@ -552,7 +552,7 @@ func TestManualRunWithPayloadProcessNodeBuildParameter(t *testing.T) {
552
552
assert .NoError (t , err )
553
553
wr .Workflow = w
554
554
555
- _ , errR := workflow .StartWorkflowRun (context .TODO (), db , cache , * proj , wr , opts , consumer , nil )
555
+ _ , errR := workflow .StartWorkflowRun (context .TODO (), db , cache , * proj , wr , opts , * consumer , nil )
556
556
assert .NoError (t , errR )
557
557
558
558
assert .Equal (t , 1 , len (wr .WorkflowNodeRuns ))
@@ -699,7 +699,7 @@ func TestManualRunBranchAndCommitInPayloadProcessNodeBuildParameter(t *testing.T
699
699
assert .NoError (t , err )
700
700
wr .Workflow = w
701
701
702
- _ , errR := workflow .StartWorkflowRun (context .TODO (), db , cache , * proj , wr , opts , consumer , nil )
702
+ _ , errR := workflow .StartWorkflowRun (context .TODO (), db , cache , * proj , wr , opts , * consumer , nil )
703
703
assert .NoError (t , errR )
704
704
705
705
assert .Equal (t , 1 , len (wr .WorkflowNodeRuns ))
@@ -927,7 +927,7 @@ func TestManualRunBranchAndRepositoryInPayloadProcessNodeBuildParameter(t *testi
927
927
assert .NoError (t , err )
928
928
wr .Workflow = w
929
929
930
- _ , errR := workflow .StartWorkflowRun (context .TODO (), db , cache , * proj , wr , opts , consumer , nil )
930
+ _ , errR := workflow .StartWorkflowRun (context .TODO (), db , cache , * proj , wr , opts , * consumer , nil )
931
931
assert .NoError (t , errR )
932
932
933
933
mapParams := sdk .ParametersToMap (wr .WorkflowNodeRuns [w .WorkflowData .Node .ID ][0 ].BuildParameters )
@@ -1162,7 +1162,7 @@ func TestManualRunBuildParameterMultiApplication(t *testing.T) {
1162
1162
assert .NoError (t , err )
1163
1163
wr .Workflow = w
1164
1164
1165
- _ , errR := workflow .StartWorkflowRun (context .TODO (), db , cache , * proj , wr , opts , consumer , nil )
1165
+ _ , errR := workflow .StartWorkflowRun (context .TODO (), db , cache , * proj , wr , opts , * consumer , nil )
1166
1166
assert .NoError (t , errR )
1167
1167
1168
1168
assert .Equal (t , 3 , len (wr .WorkflowNodeRuns ))
@@ -1407,7 +1407,7 @@ func TestManualRunBuildParameterNoApplicationOnRoot(t *testing.T) {
1407
1407
assert .NoError (t , err )
1408
1408
wr .Workflow = w
1409
1409
1410
- _ , errR := workflow .StartWorkflowRun (context .TODO (), db , cache , * proj , wr , opts , consumer , nil )
1410
+ _ , errR := workflow .StartWorkflowRun (context .TODO (), db , cache , * proj , wr , opts , * consumer , nil )
1411
1411
assert .NoError (t , errR )
1412
1412
1413
1413
assert .Equal (t , 3 , len (wr .WorkflowNodeRuns ))
@@ -1598,7 +1598,7 @@ func TestGitParamOnPipelineWithoutApplication(t *testing.T) {
1598
1598
assert .NoError (t , err )
1599
1599
wr .Workflow = w
1600
1600
1601
- _ , errR := workflow .StartWorkflowRun (context .TODO (), db , cache , * proj , wr , opts , consumer , nil )
1601
+ _ , errR := workflow .StartWorkflowRun (context .TODO (), db , cache , * proj , wr , opts , * consumer , nil )
1602
1602
assert .NoError (t , errR )
1603
1603
1604
1604
// Load run
@@ -1785,7 +1785,7 @@ func TestGitParamOnApplicationWithoutRepo(t *testing.T) {
1785
1785
assert .NoError (t , err )
1786
1786
wr .Workflow = w
1787
1787
1788
- _ , errR := workflow .StartWorkflowRun (context .TODO (), db , cache , * proj , wr , opts , consumer , nil )
1788
+ _ , errR := workflow .StartWorkflowRun (context .TODO (), db , cache , * proj , wr , opts , * consumer , nil )
1789
1789
assert .NoError (t , errR )
1790
1790
1791
1791
assert .Equal (t , 2 , len (wr .WorkflowNodeRuns ))
@@ -1983,7 +1983,7 @@ func TestGitParamOn2ApplicationSameRepo(t *testing.T) {
1983
1983
assert .NoError (t , err )
1984
1984
wr .Workflow = w
1985
1985
1986
- _ , errR := workflow .StartWorkflowRun (context .TODO (), db , cache , * proj , wr , opts , consumer , nil )
1986
+ _ , errR := workflow .StartWorkflowRun (context .TODO (), db , cache , * proj , wr , opts , * consumer , nil )
1987
1987
assert .NoError (t , errR )
1988
1988
1989
1989
assert .Equal (t , 2 , len (wr .WorkflowNodeRuns ))
@@ -2195,7 +2195,7 @@ func TestGitParamWithJoin(t *testing.T) {
2195
2195
assert .NoError (t , err )
2196
2196
wr .Workflow = w
2197
2197
2198
- _ , errR := workflow .StartWorkflowRun (context .TODO (), db , cache , * proj , wr , opts , consumer , nil )
2198
+ _ , errR := workflow .StartWorkflowRun (context .TODO (), db , cache , * proj , wr , opts , * consumer , nil )
2199
2199
assert .NoError (t , errR )
2200
2200
2201
2201
assert .Equal (t , 3 , len (wr .WorkflowNodeRuns ))
@@ -2414,7 +2414,7 @@ func TestGitParamOn2ApplicationSameRepoWithFork(t *testing.T) {
2414
2414
assert .NoError (t , err )
2415
2415
wr .Workflow = w
2416
2416
2417
- _ , errR := workflow .StartWorkflowRun (context .TODO (), db , cache , * proj , wr , opts , consumer , nil )
2417
+ _ , errR := workflow .StartWorkflowRun (context .TODO (), db , cache , * proj , wr , opts , * consumer , nil )
2418
2418
assert .NoError (t , errR )
2419
2419
2420
2420
assert .Equal (t , 3 , len (wr .WorkflowNodeRuns ))
@@ -2606,7 +2606,7 @@ func TestManualRunWithPayloadAndRunCondition(t *testing.T) {
2606
2606
assert .NoError (t , err )
2607
2607
wr .Workflow = w
2608
2608
2609
- _ , errR := workflow .StartWorkflowRun (context .TODO (), db , cache , * proj , wr , opts , consumer , nil )
2609
+ _ , errR := workflow .StartWorkflowRun (context .TODO (), db , cache , * proj , wr , opts , * consumer , nil )
2610
2610
assert .NoError (t , errR )
2611
2611
2612
2612
assert .Equal (t , 2 , len (wr .WorkflowNodeRuns ))
0 commit comments