Initial commit
This commit is contained in:
21
templates/FunctionalTestsBootstrap.php
Normal file
21
templates/FunctionalTestsBootstrap.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* Bootstrap file for TYPO3 functional tests
|
||||
*
|
||||
* This file initializes the testing environment for functional tests.
|
||||
* It sets up the necessary directory structure and prepares the TYPO3 instance.
|
||||
*/
|
||||
|
||||
call_user_func(static function () {
|
||||
$testbase = new \TYPO3\TestingFramework\Core\Testbase();
|
||||
|
||||
// Define original root path
|
||||
$testbase->defineOriginalRootPath();
|
||||
|
||||
// Create necessary directories for test execution
|
||||
$testbase->createDirectory(ORIGINAL_ROOT . 'typo3temp/var/tests');
|
||||
$testbase->createDirectory(ORIGINAL_ROOT . 'typo3temp/var/transient');
|
||||
});
|
||||
Reference in New Issue
Block a user