mirror of
https://github.com/Codappix/search_core.git
synced 2024-12-22 22:36:10 +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
310 B
PHP
9 lines
310 B
PHP
<?php
|
|
|
|
$filePath = '.Build/vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTestsBootstrap.php';
|
|
|
|
if (getenv('TYPO3_VERSION') === '~7.6') {
|
|
$filePath = '.Build/vendor/typo3/cms/typo3/sysext/core/Build/FunctionalTestsBootstrap.php';
|
|
}
|
|
|
|
require_once dirname(dirname(__DIR__)) . '/' . $filePath;
|