/** * 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); }
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); }
public function tearDown() { $customPath = $this->app['path.public'] . '/custom'; $this->app['config']->set('image.write_path', $customPath); Image::deleteManipulated($this->imagePath); parent::tearDown(); }
public function tearDown() { parent::tearDown(); if ($container = Mockery::getContainer()) { $this->addToAssertionCount($container->mockery_getExpectationCount()); } Mockery::close(); }
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(); }
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); }
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(); }
/** * Tear down environment after tests */ public function tearDown() { $this->artisan('migrate:rollback', ['--database' => 'sqlite']); parent::tearDown(); }
public function tearDown() { if ($this->file) { unlink($this->file); //delete the file after each test } parent::tearDown(); }
public function tearDown() { $this->server->stop(); parent::tearDown(); }
public function tearDown() { Mockery::close(); parent::tearDown(); }
public function tearDown() { parent::tearDown(); m::close(); }
/** * */ public function tearDown() { $this->artisan('migrate:reset', ['--database' => 'testbench']); parent::tearDown(); }
public function tearDown() { parent::tearDown(); }
protected function tearDown() { parent::tearDown(); }
protected function tearDown() { parent::tearDown(); $migration = new CreateTokensTable(); $migration->down(); }
/** * 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(); }