Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
yuandrew committed Jan 30, 2025
1 parent 2b7166d commit 35aa4f1
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions shoppingcart/workflow_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,7 @@ func Test_ShoppingCartWorkflow(t *testing.T) {
}, 0)

env.RegisterDelayedCallback(func() {
env.UpdateWorkflow(UpdateName, uuid.New(), &testsuite.TestUpdateCallback{
OnAccept: func() {},
OnReject: func(err error) {
require.Fail(t, "unexpected rejection")
},
OnComplete: func(i interface{}, err error) {},
}, "checkout", "")
env.SignalWorkflow("checkout", nil)
}, 0)
env.ExecuteWorkflow(CartWorkflow)

Expand Down

0 comments on commit 35aa4f1

Please sign in to comment.