예제 #1
0
파일: LoaderTest.php 프로젝트: visor/nano
 protected function tearDown()
 {
     set_include_path($this->includePath);
     unset($this->includePath);
     parent::tearDown();
 }
예제 #2
0
파일: RunTest.php 프로젝트: visor/nano
 protected function tearDown()
 {
     rename($this->application->rootDir . DIRECTORY_SEPARATOR . 'settings' . DIRECTORY_SEPARATOR . \Nano\Application\Config::CONFIG_FILE_NAME . '.bak', $this->application->rootDir . DIRECTORY_SEPARATOR . 'settings' . DIRECTORY_SEPARATOR . \Nano\Application\Config::CONFIG_FILE_NAME);
     rename($this->application->rootDir . DIRECTORY_SEPARATOR . 'settings' . DIRECTORY_SEPARATOR . \Nano\Application\Config::ROUTES_FILE_NAME . '.bak', $this->application->rootDir . DIRECTORY_SEPARATOR . 'settings' . DIRECTORY_SEPARATOR . \Nano\Application\Config::ROUTES_FILE_NAME);
     parent::tearDown();
 }