diff --git a/src/Template/Bake/Plugin/tests/bootstrap.php.twig b/src/Template/Bake/Plugin/tests/bootstrap.php.twig index 7ec03821d..c8c3108f7 100644 --- a/src/Template/Bake/Plugin/tests/bootstrap.php.twig +++ b/src/Template/Bake/Plugin/tests/bootstrap.php.twig @@ -40,11 +40,16 @@ unset($findRoot); chdir($root); require_once $root . '/vendor/autoload.php'; -require_once $root . '/vendor/cakephp/cakephp/src/basics.php'; + +/** + * Define fallback values for required constants and configuration. + * To customize constants and configuration remove this require + * and define the data required by your plugin here. + */ +require_once $root . '/vendor/cakephp/cakephp/tests/bootstrap.php'; if (file_exists($root . '/config/bootstrap.php')) { require $root . '/config/bootstrap.php'; return; } -require $root . '/vendor/cakephp/cakephp/tests/bootstrap.php'; diff --git a/tests/comparisons/Plugin/Company/Example/tests/bootstrap.php b/tests/comparisons/Plugin/Company/Example/tests/bootstrap.php index 1a010411f..60203d5eb 100644 --- a/tests/comparisons/Plugin/Company/Example/tests/bootstrap.php +++ b/tests/comparisons/Plugin/Company/Example/tests/bootstrap.php @@ -23,11 +23,16 @@ chdir($root); require_once $root . '/vendor/autoload.php'; -require_once $root . '/vendor/cakephp/cakephp/src/basics.php'; + +/** + * Define fallback values for required constants and configuration. + * To customize constants and configuration remove this require + * and define the data required by your plugin here. + */ +require_once $root . '/vendor/cakephp/cakephp/tests/bootstrap.php'; if (file_exists($root . '/config/bootstrap.php')) { require $root . '/config/bootstrap.php'; return; } -require $root . '/vendor/cakephp/cakephp/tests/bootstrap.php'; diff --git a/tests/comparisons/Plugin/SimpleExample/tests/bootstrap.php b/tests/comparisons/Plugin/SimpleExample/tests/bootstrap.php index 7d3b72120..06257da42 100644 --- a/tests/comparisons/Plugin/SimpleExample/tests/bootstrap.php +++ b/tests/comparisons/Plugin/SimpleExample/tests/bootstrap.php @@ -23,11 +23,16 @@ chdir($root); require_once $root . '/vendor/autoload.php'; -require_once $root . '/vendor/cakephp/cakephp/src/basics.php'; + +/** + * Define fallback values for required constants and configuration. + * To customize constants and configuration remove this require + * and define the data required by your plugin here. + */ +require_once $root . '/vendor/cakephp/cakephp/tests/bootstrap.php'; if (file_exists($root . '/config/bootstrap.php')) { require $root . '/config/bootstrap.php'; return; } -require $root . '/vendor/cakephp/cakephp/tests/bootstrap.php';