Skip to content

Commit 435c7fb

Browse files
committed
Update executor test
1 parent 750bdb5 commit 435c7fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/workflow/executor_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,8 @@ func Test_ExecuteWorkflowWithSelector(t *testing.T) {
317317
require.Equal(t, 1, workflowWithSelectorHits)
318318
require.Len(t, e.workflowState.Commands(), 2)
319319

320-
require.IsType(t, &command.ScheduleTimerCommand{}, e.workflowState.Commands()[0])
321-
require.IsType(t, &command.ScheduleActivityCommand{}, e.workflowState.Commands()[1])
320+
require.IsType(t, &command.ScheduleActivityCommand{}, e.workflowState.Commands()[0])
321+
require.IsType(t, &command.ScheduleTimerCommand{}, e.workflowState.Commands()[1])
322322
}
323323

324324
func Test_ExecuteNewEvents(t *testing.T) {

0 commit comments

Comments
 (0)