public function testInitWithVerifier() { $config = new Standard(getcwd()); $verifier = new LowlevelChecks($config); $config->setVerifier($verifier); $config->verify(); }
protected function makeApp() { $config = new Standard(TEST_ROOT); $config->verify(); $bolt = new Application(['resources' => $config]); $bolt['session.test'] = true; $bolt['debug'] = false; $bolt['config']->set('general/database', ['driver' => 'pdo_sqlite', 'prefix' => 'bolt_', 'user' => 'test', 'path' => TEST_ROOT . '/bolt.db']); $bolt['config']->set('general/canonical', 'bolt.dev'); $bolt['resources']->setPath('files', PHPUNIT_ROOT . '/resources/files'); $bolt['slugify'] = Slugify::create(); return $bolt; }