'app_flow_action_id' => null,
'rule_id' => '',
'display_group' => '1',
'position' => '1',
'action_name' => 'action.remove.order.tag',
'config' => '',
'true_case' => '0',
],
];
$flow =
$this->flowBuilder->
build($flowId,
$flowSequences);
static::
assertIsArray($flow->
getSequences());
$firstAction =
$flow->
getSequences()[0
];
static::
assertInstanceOf(ActionSequence::
class,
$firstAction);
static::
assertEquals('action.add.order.tag',
$firstAction->action
);
$secondAction =
$flow->
getSequences()[1
];
static::
assertInstanceOf(ActionSequence::
class,
$secondAction);
static::
assertEquals('action.remove.order.tag',
$secondAction->action
);
} public function testBuildWithActionBeforeAction(): void
{ $flowId = Uuid::
randomHex();