search_core/Tests/Unit/Bootstrap.php

10 lines
298 B
PHP
Raw Normal View History

<?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;