diff --git a/Classes/Command/CreateTestDataCommand.php b/Classes/Command/CreateTestDataCommand.php index 6cc8d2a..7e17cc7 100644 --- a/Classes/Command/CreateTestDataCommand.php +++ b/Classes/Command/CreateTestDataCommand.php @@ -69,7 +69,7 @@ final class CreateTestDataCommand extends Command $query = $connectionForTable; foreach ($this->teaData as $item) { - $item = ['pid' => $pageUid, ...$item]; + $item = ['pid' => $pageUid, 'title' => $item['title'], 'description' => $item['description']]; $query->insert( $table, $item