'config' =>
[ 'mail_template_id' =>
$this->ids->
get('mail_template'
),
'mail_template_type_id' =>
$this->ids->
get('mail_template_type'
),
],
'active' => true,
'createdAt'
=> (new \
DateTime())->
format(Defaults::STORAGE_DATE_TIME_FORMAT
),
];
} $this->eventActionRepository->
create($data, Context::
createDefaultContext());
$migration =
new Migration1625583619MoveDataFromEventActionToFlow();
$migration->internal = true;
$migration->
update($this->connection
);
$flows =
$this->connection->
fetchFirstColumn('SELECT `event_name` FROM `flow`'
);
sort($eventList);
sort($flows);
static::
assertSame($eventList,
$flows);
$eventActions =
$this->connection->
fetchAllAssociative(