Skip to content

Commit 4adfae7

Browse files
committed
Add unit tests for event handlers
1 parent baa7d46 commit 4adfae7

File tree

4 files changed

+411
-118
lines changed

4 files changed

+411
-118
lines changed

internal/error_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ func Test_SignalExternalWorkflowExecutionFailedError(t *testing.T) {
460460
InitiatedEventId: common.Int64Ptr(initiatedEventID),
461461
Cause: shared.SignalExternalWorkflowExecutionFailedCauseUnknownExternalWorkflowExecution.Ptr(),
462462
})
463-
require.NoError(t, weh.handleSignalExternalWorkflowExecutionFailed(event))
463+
weh.handleSignalExternalWorkflowExecutionFailed(event)
464464
_, ok := actualErr.(*UnknownExternalWorkflowExecutionError)
465465
require.True(t, ok)
466466
}

0 commit comments

Comments
 (0)