Skip to content

Commit

Permalink
fixup! Enable workflow validation against JSON spec
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryNguyen5 committed Jun 6, 2024
1 parent c0b578b commit 4e7cc57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/services/workflows/delegate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ triggers: []
consensus: []
targets: []
`
return testspecs.GenerateWorkflowSpec(id, owner, validName + "1", wf).Toml()
return testspecs.GenerateWorkflowSpec(id, owner, validName+"1", wf).Toml()
},
true,
false,
},

// Taken from jobs controller test, as we want to fail early without a db / slow test dependency
Expand Down Expand Up @@ -144,7 +144,7 @@ targets:
params: ["$(report)"]
abi: "receive(report bytes)"
`
return testspecs.GenerateWorkflowSpec(id, owner, "test", workflow).Toml()
return testspecs.GenerateWorkflowSpec(id, owner, validName, workflow).Toml()
},
true,
},
Expand Down

0 comments on commit 4e7cc57

Please sign in to comment.