Skip to content

Commit cd35423

Browse files
committed
fix
1 parent 94e063e commit cd35423

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

integration/mocks_test.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,6 @@ func workflow(ctx dbos.DBOSContext, i int) (int, error) {
7979
return 0, err
8080
}
8181

82-
_, err = dbos.Enqueue[int, int](ctx, "test_queue", "test_workflow", 42)
83-
if err != nil {
84-
return 0, err
85-
}
86-
8782
err = dbos.CancelWorkflow(ctx, workflowID)
8883
if err != nil {
8984
return 0, err
@@ -180,7 +175,6 @@ func TestMocks(t *testing.T) {
180175
mockGenericHandle.On("GetStatus").Return(dbos.WorkflowStatus{}, nil).Maybe()
181176

182177
mockCtx.On("RetrieveWorkflow", mockCtx, "test-workflow-id").Return(mockGenericHandle, nil)
183-
mockCtx.On("Enqueue", mockCtx, "test_queue", "test_workflow", 42).Return(mockGenericHandle, nil)
184178
mockCtx.On("CancelWorkflow", mockCtx, "test-workflow-id").Return(nil)
185179
mockCtx.On("ResumeWorkflow", mockCtx, "test-workflow-id").Return(mockGenericHandle, nil)
186180
mockCtx.On("ForkWorkflow", mockCtx, mock.Anything).Return(mockGenericHandle, nil)

0 commit comments

Comments
 (0)