[TASK] Optimized rendering of Changelogs for docs.typo3.org
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Build / FunctionalTestsBootstrap.php
1 <?php
2 /*
3 * This file is part of the TYPO3 CMS project.
4 *
5 * It is free software; you can redistribute it and/or modify it under
6 * the terms of the GNU General Public License, either version 2
7 * of the License, or any later version.
8 *
9 * For the full copyright and license information, please read the
10 * LICENSE.txt file that was distributed with this source code.
11 *
12 * The TYPO3 project - inspiring people to share!
13 */
14
15 /**
16 * This file is defined in FunctionalTests.xml and called by phpunit
17 * before instantiating the test suites, it must also be included
18 * with phpunit parameter --bootstrap if executing single test case classes.
19 */
20 call_user_func(function () {
21 $testbase = new \TYPO3\CMS\Core\Tests\Testbase();
22 $testbase->enableDisplayErrors();
23 $testbase->defineBaseConstants();
24 $testbase->defineOriginalRootPath();
25 $testbase->createDirectory(ORIGINAL_ROOT . 'typo3temp/var/tests');
26 $testbase->createDirectory(ORIGINAL_ROOT . 'typo3temp/var/transient');
27 });