Skip to content

Commit f3dc42e

Browse files
committed
Initialize sdkFlags in test properly
1 parent 463a971 commit f3dc42e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/internal_event_handlers_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ func Test_UpsertMemo(t *testing.T) {
244244
env := &workflowEnvironmentImpl{
245245
commandsHelper: helper,
246246
workflowInfo: GetWorkflowInfo(ctx),
247+
sdkFlags: newSDKFlags(nil),
248+
dataConverter: converter.GetDefaultDataConverter(),
247249
}
248250
helper.setCurrentWorkflowTaskStartedEventID(4)
249251
err := env.UpsertMemo(nil)

0 commit comments

Comments
 (0)