Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-ogrady committed Dec 4, 2020
1 parent 76744c0 commit 39f9b0c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions constructor/worker/worker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1426,19 +1426,19 @@ func TestJob_Failures(t *testing.T) {
Name: "random_number",
Actions: []*job.Action{
{
Type: job.SetVariable,
Input: `{"minumum":"-100", "maximum":"-200"}`,
Type: job.RandomNumber,
Input: `{"minimum":"-100", "maximum":"-200"}`,
},
},
},
executionErr: &Error{
Workflow: "random",
Scenario: "random_number",
Action: &job.Action{
Type: job.SetVariable,
Input: `{"minumum":"-100", "maximum":"-200"}`,
Type: job.RandomNumber,
Input: `{"minimum":"-100", "maximum":"-200"}`,
},
ProcessedInput: `{"minumum":"-100", "maximum":"-200"}`,
ProcessedInput: `{"minimum":"-100", "maximum":"-200"}`,
Err: ErrActionFailed,
},
helper: &mocks.Helper{},
Expand Down

0 comments on commit 39f9b0c

Please sign in to comment.