/**
  * 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);
     }
 }
 /**
  * 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
 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();
 }
 /**
  * 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
 /**
  * Tear down environment after tests
  */
 public function tearDown()
 {
     $this->artisan('migrate:rollback', ['--database' => 'sqlite']);
     parent::tearDown();
 }
예제 #11
0
 public function tearDown()
 {
     if ($this->file) {
         unlink($this->file);
         //delete the file after each test
     }
     parent::tearDown();
 }
예제 #12
0
 public function tearDown()
 {
     $this->server->stop();
     parent::tearDown();
 }
 public function tearDown()
 {
     Mockery::close();
     parent::tearDown();
 }
예제 #14
0
 public function tearDown()
 {
     parent::tearDown();
     m::close();
 }
 /**
  *
  */
 public function tearDown()
 {
     $this->artisan('migrate:reset', ['--database' => 'testbench']);
     parent::tearDown();
 }
예제 #16
0
 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');
 }
 /**
  * Tear down test.
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     unset($this->dilemma);
 }
 public function tearDown()
 {
     app('Illuminate\\Database\\DatabaseManager')->rollBack();
     parent::tearDown();
 }