public function tearDown()
 {
     $folder = DIR_TESTDATA . '/images/waffles-*.jpg';
     foreach (glob($folder) as $file) {
         unlink($file);
     }
     $this->remove_added_uploads();
     parent::tearDown();
 }
예제 #2
0
 public function tearDown()
 {
     remove_filter('wp_image_editors', array($this, 'wp_image_editors'));
     parent::tearDown();
 }