Use ob_end_clean() instead of ob_get_clean()

Doing this change since the content of the output buffer is not used.
This commit is contained in:
Rodrigo Primo 2018-05-29 08:59:46 -03:00
parent b3a9d5b4c2
commit 7979ea6b1a
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class WC_Tests_Tax_CSV_Importer extends WC_Unit_Test_Case {
$importer = new WC_Tax_Rate_Importer();
ob_start();
$importer->import( $this->csv_file );
ob_get_clean();
ob_end_clean();
$rate_count = $wpdb->get_var( "SELECT COUNT(*) FROM {$wpdb->prefix}woocommerce_tax_rates" );
$this->assertEquals( 5, $rate_count );
}