public function tearDown() { CFDBQueryResultIteratorFactory::getInstance()->clearMock(); $wpdb = null; try { ob_flush(); ob_end_clean(); } catch (Exception $e) { } parent::tearDown(); }
public function tearDown() { if ($this->bufferOutput) { ob_flush(); ob_end_clean(); $this->bufferOutput = false; } parent::tearDown(); ob_end_clean(); ob_end_clean(); // not sure why we need to call twice to suppress output }
function tearDown() { global $alt_get_options; unset($alt_get_options); parent::tearDown(); }