Skip to content

Commit

Permalink
Fixing test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
othomann committed Mar 2, 2020
1 parent 392f0c2 commit 2a86059
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/reconciler/pipelinerun/pipelinerun_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1756,7 +1756,7 @@ func TestReconcileWithTaskResults(t *testing.T) {
tb.TaskRunSpec(
tb.TaskRunTaskRef("bTask"),
tb.TaskRunServiceAccountName("test-sa-0"),
tb.TaskRunInputs(tb.TaskRunInputsParam("bParam", "aResultValue")),
tb.TaskRunParam("bParam", "aResultValue"),
),
)
// Check that the expected TaskRun was created
Expand Down
2 changes: 1 addition & 1 deletion test/builder/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ func StatusCondition(condition apis.Condition) TaskRunStatusOp {

func TaskRunResult(name, value string) TaskRunStatusOp {
return func(s *v1alpha1.TaskRunStatus) {
s.TaskRunResults = append(s.TaskRunResults, v1alpha1.TaskRunResult{
s.TaskRunResults = append(s.TaskRunResults, v1beta1.TaskRunResult{
Name: name,
Value: value,
})
Expand Down

0 comments on commit 2a86059

Please sign in to comment.