예제 #1
0
 protected function tearDown()
 {
     parent::tearDown();
     $files = glob($this->media . '/*');
     foreach ($files as $file) {
         if (is_file($file)) {
             unlink($file);
         }
     }
 }
예제 #2
0
 protected function tearDown()
 {
     parent::tearDown();
     $this->dropModels($this->getModels());
 }