'App', 'paths' => [ 'plugins' => [ROOT . 'Plugin' . DS], 'templates' => [ROOT . 'App' . DS . 'Template' . DS] ], 'encoding' => 'UTF-8' ]); if (!getenv('db_dsn')) { putenv('db_dsn=sqlite:///:memory:'); } ConnectionManager::setConfig('test', ['url' => getenv('db_dsn')]); Plugin::getCollection()->add(new \Bake\Plugin());