protected function tearDown()
 {
     $filePath = $this->getTestFilePath();
     if (file_exists($filePath)) {
         FileHelper::removeDirectory($filePath);
     }
     $this->dropFileCollection(CustomerFile::collectionName());
     parent::tearDown();
 }
Example #2
0
 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();
 }
Example #4
0
 protected function tearDown()
 {
     $this->dropCollection('customer');
     parent::tearDown();
 }
Example #5
0
 protected function tearDown()
 {
     $this->dropCollection(Customer::collectionName());
     $this->dropCollection(CustomerOrder::collectionName());
     parent::tearDown();
 }
 protected function tearDown()
 {
     $this->dropFileCollection('fs');
     parent::tearDown();
 }