コード例 #1
0
 /**
  * Clean up the testing environment before the next test.
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     unset($this->engine);
     unset($this->ourConfigPath);
     unset($this->bridge);
 }
コード例 #2
0
 public function tearDown()
 {
     parent::tearDown();
     if (file_exists($this->testImage)) {
         unlink($this->testImage);
     }
 }
コード例 #3
0
 /**
  * Tear down test.
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     unset($this->dilemma);
     unset($this->resolution);
     unset($this->map);
 }
コード例 #4
0
 public function tearDown()
 {
     $customPath = $this->app['path.public'] . '/custom';
     $this->app['config']->set('image.write_path', $customPath);
     Image::deleteManipulated($this->imagePath);
     parent::tearDown();
 }
コード例 #5
0
ファイル: MailgunTestCase.php プロジェクト: bogardo/mailgun
 public function tearDown()
 {
     parent::tearDown();
     if ($container = Mockery::getContainer()) {
         $this->addToAssertionCount($container->mockery_getExpectationCount());
     }
     Mockery::close();
 }
コード例 #6
0
ファイル: TestCase.php プロジェクト: rtmatt/import
 public function tearDown()
 {
     \DB::statement("SET FOREIGN_KEY_CHECKS = 0;");
     \DB::statement("drop table if exists tests;");
     \DB::statement("drop table if exists migrations;");
     \DB::statement("SET FOREIGN_KEY_CHECKS = 1;");
     parent::tearDown();
 }
コード例 #7
0
 public function tearDown()
 {
     if ($this->useDatabase === true) {
         $this->db->disconnect('testbench');
         $this->tearDownDatabase();
     }
     parent::tearDown();
 }
コード例 #8
0
 /**
  * Clean up the testing environment before the next test.
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     unset($this->problem);
     unset($this->problemColumn);
     unset($this->problemOption);
     unset($this->problemColumnCategoricalRange);
     unset($this->problemColumnDateRange);
     unset($this->problemColumnValueRange);
     unset($this->faker);
 }
コード例 #9
0
 public function tearDown()
 {
     if ($this->application) {
         $accountStoreMappings = $this->application->accountStoreMappings;
         if ($accountStoreMappings) {
             foreach ($accountStoreMappings as $asm) {
                 $accountStore = $asm->accountStore;
                 $asm->delete();
                 $accountStore->delete();
             }
         }
         $this->application->delete();
         $this->application = null;
     }
     parent::tearDown();
 }
コード例 #10
0
ファイル: TestCase.php プロジェクト: shinichi81/laravel-acl
 /**
  * Tear down environment after tests
  */
 public function tearDown()
 {
     $this->artisan('migrate:rollback', ['--database' => 'sqlite']);
     parent::tearDown();
 }
コード例 #11
0
ファイル: AssetsManagerTest.php プロジェクト: bakgat/notos
 public function tearDown()
 {
     if ($this->file) {
         unlink($this->file);
         //delete the file after each test
     }
     parent::tearDown();
 }
コード例 #12
0
ファイル: TestCase.php プロジェクト: czim/hellodialog
 public function tearDown()
 {
     $this->server->stop();
     parent::tearDown();
 }
コード例 #13
0
 public function tearDown()
 {
     Mockery::close();
     parent::tearDown();
 }
コード例 #14
0
ファイル: BaseTest.php プロジェクト: laravelflare/fields
 public function tearDown()
 {
     parent::tearDown();
     m::close();
 }
コード例 #15
0
 /**
  *
  */
 public function tearDown()
 {
     $this->artisan('migrate:reset', ['--database' => 'testbench']);
     parent::tearDown();
 }
コード例 #16
0
ファイル: TestCase.php プロジェクト: claremontdesign/zbase
 public function tearDown()
 {
     parent::tearDown();
 }
コード例 #17
0
ファイル: TestCase.php プロジェクト: laravolt/auth
 protected function tearDown()
 {
     parent::tearDown();
 }
コード例 #18
0
 protected function tearDown()
 {
     parent::tearDown();
     $migration = new CreateTokensTable();
     $migration->down();
 }
コード例 #19
0
 /**
  * Runs after each test.
  */
 public function tearDown()
 {
     parent::tearDown();
     $this->fs->deleteDirectory(base_path() . '/tests/results');
 }
コード例 #20
0
 /**
  * Tear down test.
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     unset($this->dilemma);
 }
コード例 #21
0
 public function tearDown()
 {
     app('Illuminate\\Database\\DatabaseManager')->rollBack();
     parent::tearDown();
 }