diff --git a/Classes/Core/Testbase.php b/Classes/Core/Testbase.php index 6316e94e..9fc1f898 100644 --- a/Classes/Core/Testbase.php +++ b/Classes/Core/Testbase.php @@ -919,6 +919,12 @@ public function createDatabaseStructure(ContainerInterface $container): void $sqlReader = GeneralUtility::makeInstance(SqlReader::class); $sqlCode = $sqlReader->getTablesDefinitionString(); $createTableStatements = $sqlReader->getCreateTableStatementArray($sqlCode); + // @todo: Remove the install() fallback when v14 compat is dropped, the + // method no longer exists in v15. + if (method_exists($schemaMigrationService, 'applySafe')) { + $schemaMigrationService->applySafe($createTableStatements); + return; + } $schemaMigrationService->install($createTableStatements); }