protected function tearDown() { $filePath = $this->getTestFilePath(); if (file_exists($filePath)) { FileHelper::removeDirectory($filePath); } $this->dropFileCollection(CustomerFile::collectionName()); parent::tearDown(); }
public function tearDown() { parent::tearDown(); if (extension_loaded('mongo')) { try { $this->getConnection()->getCollection('migration')->drop(); } catch (Exception $e) { // shutdown exception } } $this->tearDownMigrationPath(); }
protected function tearDown() { $this->dropCollection(static::$sessionCollection); parent::tearDown(); }
protected function tearDown() { $this->dropCollection('customer'); parent::tearDown(); }
protected function tearDown() { $this->dropCollection(Customer::collectionName()); $this->dropCollection(CustomerOrder::collectionName()); parent::tearDown(); }
protected function tearDown() { $this->dropFileCollection('fs'); parent::tearDown(); }