Remove product after unit test

This commit is contained in:
Claudio Sanches 2018-04-06 14:49:20 -03:00
parent a10689ce40
commit 53b000cb87
1 changed files with 2 additions and 0 deletions

View File

@ -37,5 +37,7 @@ class WC_Tests_Template_Functions extends WC_Unit_Test_Case {
);
$this->assertEquals( $expected, array_values( wc_get_product_class( 'foo', $product ) ) );
$product->delete( true );
}
}