Skip to content

Commit 0e5b9cb

Browse files
famartingJoshVanL
andauthored
Update tests/worker_test.go
Co-authored-by: Josh van Leeuwen <[email protected]> Signed-off-by: Fabian Martinez <[email protected]>
1 parent 76222e7 commit 0e5b9cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/worker_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ func Test_TryProcessSingleOrchestrationWorkItem_BasicFlow(t *testing.T) {
7777

7878
t.Logf("state.NewEvents: %v", state.NewEvents)
7979
require.Len(t, state.NewEvents, 2)
80-
require.True(t, state.NewEvents[0].GetOrchestratorStarted() != nil)
81-
require.True(t, state.NewEvents[1].GetExecutionStarted() != nil)
80+
require.NotNil(t, wi.State.NewEvents[0].GetOrchestratorStarted())
81+
require.NotNil(t, wi.State.NewEvents[1].GetExecutionStarted())
8282
}
8383

8484
func Test_TryProcessSingleOrchestrationWorkItem_Idempotency(t *testing.T) {

0 commit comments

Comments
 (0)