mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-23 03:36:12 +01:00
Daniel Siepmann
16bc22aa44
Check which version to run and switch TYPO3 bootstrapping. Also allow tests to run with TYPO3 CMS 7.6 again.
9 lines
298 B
PHP
9 lines
298 B
PHP
<?php
|
|
|
|
$filePath = '.Build/vendor/typo3/testing-framework/Resources/Core/Build/UnitTestsBootstrap.php';
|
|
|
|
if (getenv('TYPO3_VERSION') === '~7.6') {
|
|
$filePath = '.Build/vendor/typo3/cms/typo3/sysext/core/Build/UnitTestsBootstrap.php';
|
|
}
|
|
|
|
require_once dirname(dirname(__DIR__)) . '/' . $filePath;
|