Initial commit - Typo3 11.5.41
This commit is contained in:
30
typo3conf/ext/news/Tests/Build/FunctionalTestsBootstrap.php
Normal file
30
typo3conf/ext/news/Tests/Build/FunctionalTestsBootstrap.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
* This file is part of the TYPO3 CMS project.
|
||||
*
|
||||
* It is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU General Public License, either version 2
|
||||
* of the License, or any later version.
|
||||
*
|
||||
* For the full copyright and license information, please read the
|
||||
* LICENSE.txt file that was distributed with this source code.
|
||||
*
|
||||
* The TYPO3 project - inspiring people to share!
|
||||
*/
|
||||
|
||||
/**
|
||||
* Boilerplate for a functional test phpunit boostrap file.
|
||||
*
|
||||
* This file is loosely maintained within TYPO3 testing-framework, extensions
|
||||
* are encouraged to not use it directly, but to copy it to an own place,
|
||||
* usually in parallel to a FunctionalTests.xml file.
|
||||
*
|
||||
* This file is defined in FunctionalTests.xml and called by phpunit
|
||||
* before instantiating the test suites.
|
||||
*/
|
||||
(static function () {
|
||||
$testbase = new \TYPO3\TestingFramework\Core\Testbase();
|
||||
$testbase->defineOriginalRootPath();
|
||||
$testbase->createDirectory(ORIGINAL_ROOT . 'typo3temp/var/tests');
|
||||
$testbase->createDirectory(ORIGINAL_ROOT . 'typo3temp/var/transient');
|
||||
})();
|
||||
Reference in New Issue
Block a user