/** * Teardown method. */ public function teardown() { $this->fakePlayersService = null; $this->fakeMatchesService = null; $this->service = null; parent::teardown(); }
/** * Teardown method. */ public function teardown() { $this->service = null; $this->fakeUsersRepo = null; $this->fakePlayersRepo = null; parent::teardown(); }
/** * Teardown method */ public function teardown() { $this->repository = null; parent::teardown(); }
/** * Method to tear down whatever was set up before the test. * * @return void * * @since 12.1 */ protected function tearDown() { $this->restoreFactoryState(); parent::teardown(); }
/** * Method to tear down whatever was set up before the test. * * @return void * * @since 12.1 */ protected function tearDown() { $this->restoreFactoryState(); unset($this->_instance); parent::teardown(); }
/** * Method to tear down whatever was set up before the test. * * @return void * * @see PHPUnit_Framework_TestCase::tearDown() * @since 12.3 */ protected function tearDown() { unset($this->_instance); parent::teardown(); }
public function teardown() { parent::teardown(); // Restore the original driver when the test is finished putenv('QUEUE_DRIVER=' . $this->originalDriver); }