コード例 #1
0
 public function tearDown()
 {
     parent::tearDown();
     # remove all the temp files
     exec('rm -rf ' . $this->getPath());
     $this->consoleOutput = '';
 }
コード例 #2
0
ファイル: TestCase.php プロジェクト: darkaonline/l5-swagger
 public function tearDown()
 {
     if (file_exists($this->jsonDocsFile())) {
         unlink($this->jsonDocsFile());
         rmdir(config('l5-swagger.paths.docs'));
     }
     parent::tearDown();
 }
コード例 #3
0
ファイル: TestCase.php プロジェクト: mrdejong/themer
 public function tearDown()
 {
     parent::tearDown();
     m::close();
     unlink(__DIR__ . '/themes/default/hello.php');
     rmdir(__DIR__ . '/themes/default');
     rmdir(__DIR__ . '/themes');
     unlink(__DIR__ . '/views/login.php');
     rmdir(__DIR__ . '/views');
 }
コード例 #4
0
 /**
  * Destroy the test environment
  */
 public function tearDown()
 {
     parent::tearDown();
     \Mockery::close();
 }
コード例 #5
0
ファイル: TestBase.php プロジェクト: jboysen/laravel-gcc
 protected function tearDown()
 {
     parent::tearDown();
     Mockery::close();
 }
コード例 #6
0
 public function tearDown()
 {
     parent::tearDown();
     m::close();
 }
コード例 #7
0
 public function tearDown()
 {
     parent::tearDown();
 }
コード例 #8
0
ファイル: Test.php プロジェクト: jimmygle/eloquent-tree
 public function tearDown()
 {
     parent::tearDown();
     Tree::__resetBootedStaticProperty();
 }
コード例 #9
0
ファイル: TestCase.php プロジェクト: themsaid/laravel-langman
 public function tearDown()
 {
     parent::tearDown();
     exec('rm -rf ' . __DIR__ . '/temp/*');
     $this->consoleOutput = '';
 }