/var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/bake/tests
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/bake/tests/bootstrap.php (2564B)
true,
'namespace' => 'App',
'paths' => [
'plugins' => [ROOT . 'Plugin' . DS],
'templates' => [ROOT . 'templates' . DS]
],
'encoding' => 'UTF-8'
]);
Cache::setConfig([
'_cake_core_' => [
'engine' => 'File',
'prefix' => 'cake_core_',
'serialize' => true,
'path' => CACHE,
],
]);
if (!getenv('DB_URL')) {
putenv('DB_URL=sqlite:///:memory:');
}
ConnectionManager::setConfig('test', ['url' => getenv('DB_URL')]);
// Create test database schema
if (env('FIXTURE_SCHEMA_METADATA')) {
$loader = new SchemaLoader();
$loader->loadInternalFile(env('FIXTURE_SCHEMA_METADATA'));
}
Configure::write('Debugger.exportFormatter', TextFormatter::class);
Plugin::getCollection()->add(new \Bake\Plugin());