We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76222e7 commit 0e5b9cbCopy full SHA for 0e5b9cb
tests/worker_test.go
@@ -77,8 +77,8 @@ func Test_TryProcessSingleOrchestrationWorkItem_BasicFlow(t *testing.T) {
77
78
t.Logf("state.NewEvents: %v", state.NewEvents)
79
require.Len(t, state.NewEvents, 2)
80
- require.True(t, state.NewEvents[0].GetOrchestratorStarted() != nil)
81
- require.True(t, state.NewEvents[1].GetExecutionStarted() != nil)
+ require.NotNil(t, wi.State.NewEvents[0].GetOrchestratorStarted())
+ require.NotNil(t, wi.State.NewEvents[1].GetExecutionStarted())
82
}
83
84
func Test_TryProcessSingleOrchestrationWorkItem_Idempotency(t *testing.T) {
0 commit comments