Fixed WC_Tests_Discounts::test_calculations
This commit is contained in:
parent
876f67a5a9
commit
4d55aaf4ef
|
@ -227,7 +227,7 @@ class WC_Tests_Discounts extends WC_Unit_Test_Case {
|
|||
$this->assertEquals( $test_data['expected_total_discount'], $discount_total, 'Failed (' . print_r( $test_data, true ) . ' - ' . print_r( $discounts->get_discounts(), true ) . ')' );
|
||||
|
||||
foreach ( $products as $product ) {
|
||||
$products->delete( true );
|
||||
$product->delete( true );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue