コード例 #1
0
ファイル: TestCase.php プロジェクト: ngmy/webloyer
 public function tearDown()
 {
     if ($this->useDatabase) {
         Artisan::call('migrate:reset');
     }
     parent::tearDown();
 }
コード例 #2
0
ファイル: TestCase.php プロジェクト: erickosma/acaoparalela
 public function tearDown()
 {
     Mockery::close();
     //$this->truncateTablesDb();
     Artisan::call('migrate:reset');
     parent::tearDown();
 }
コード例 #3
0
 public function tearDown()
 {
     if ($this->useDatabase) {
         $this->artisan('migrate:rollback');
     }
     parent::tearDown();
 }
コード例 #4
0
ファイル: TestCase.php プロジェクト: ebbz/firefly-iii
 /**
  * Tears down the fixture, for example, closes a network connection.
  * This method is called after a test is executed.
  */
 public function tearDown()
 {
     parent::tearDown();
     // delete copy original.
     //$original = __DIR__.'/../storage/database/testing.db';
     //unlink($original);
 }
コード例 #5
0
ファイル: TestCase.php プロジェクト: kshar1989/dianpou
 public function tearDown()
 {
     $this->beforeApplicationDestroyed(function () {
         DB::disconnect();
     });
     parent::tearDown();
 }
コード例 #6
0
ファイル: TestCase.php プロジェクト: CryptArc/xchain
 public function tearDown()
 {
     if ($this->useRealSQLiteDatabase) {
         $this->tearDownRealSQLiteDb();
     }
     return parent::tearDown();
 }
コード例 #7
0
 public function tearDown()
 {
     parent::tearDown();
     Mockery::close();
     Test::clean();
     $this->dropDatabase();
 }
コード例 #8
0
 public function tearDown()
 {
     Artisan::call('migrate:reset');
     parent::tearDown();
 }
コード例 #9
0
ファイル: PluginTestCase.php プロジェクト: nerijunior/october
 /**
  * Flush event listeners and collect garbage.
  * @return void
  */
 public function tearDown()
 {
     $this->flushModelEventListeners();
     parent::tearDown();
     unset($this->app);
 }
コード例 #10
0
ファイル: TestCase.php プロジェクト: netforcews/app
 public function tearDown()
 {
     $this->app = null;
     parent::tearDown();
 }
コード例 #11
0
ファイル: TestCase.php プロジェクト: shampine/plumage
 public function tearDown()
 {
     parent::tearDown();
     DB::rollback();
 }
コード例 #12
0
 /**
  * Clean up after tests
  */
 public function tearDown()
 {
     $this->rebootAllModels();
     parent::tearDown();
     unset($this->app);
 }
コード例 #13
0
ファイル: TestCase.php プロジェクト: hlmasterchief/plock
 public function tearDown()
 {
     $this->endIntegrateTests();
     parent::tearDown();
 }
コード例 #14
0
ファイル: TestCase.php プロジェクト: zetaron/firefly-iii
 /**
  * Tears down the fixture, for example, closes a network connection.
  * This method is called after a test is executed.
  */
 public function tearDown()
 {
     parent::tearDown();
 }
コード例 #15
0
ファイル: TestCase.php プロジェクト: martinsv/timegrid
 public function tearDown()
 {
     parent::tearDown();
     Mockery::close();
 }
コード例 #16
0
 public function tearDown()
 {
     // $this->flushSession();
     parent::tearDown();
 }
コード例 #17
0
ファイル: TestCase.php プロジェクト: nsystem1/Pony.fm
 public function tearDown()
 {
     Storage::disk('local')->deleteDirectory('testing-datastore');
     parent::tearDown();
 }