Skip to content

Commit 667052b

Browse files
committed
Correctly pass inputs
1 parent 66a5ca5 commit 667052b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/test/e2e.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ func register(t *testing.T, ctx context.Context, w worker.Worker, workflows []in
100100
func runWorkflow(t *testing.T, ctx context.Context, c client.Client, wf interface{}, inputs ...interface{}) *workflow.Instance {
101101
instance, err := c.CreateWorkflowInstance(ctx, client.WorkflowInstanceOptions{
102102
InstanceID: uuid.NewString(),
103-
}, wf, "hello")
103+
}, wf, inputs...)
104104
require.NoError(t, err)
105105

106106
return instance

0 commit comments

Comments
 (0)