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