Be sure to add the new product for cleanup later
This commit is contained in:
parent
91aa76a51b
commit
9eee5afc2c
|
@ -76,6 +76,7 @@ class WC_Tests_Totals extends WC_Unit_Test_Case {
|
||||||
$this->ids['tax_rate_ids'][] = $tax_rate_id;
|
$this->ids['tax_rate_ids'][] = $tax_rate_id;
|
||||||
$this->ids['products'][] = $product;
|
$this->ids['products'][] = $product;
|
||||||
$this->ids['products'][] = $product2;
|
$this->ids['products'][] = $product2;
|
||||||
|
$this->ids['products'][] = $product3;
|
||||||
$this->ids['coupons'][] = $coupon;
|
$this->ids['coupons'][] = $coupon;
|
||||||
|
|
||||||
WC()->cart->add_to_cart( $product->get_id(), 1 );
|
WC()->cart->add_to_cart( $product->get_id(), 1 );
|
||||||
|
|
Loading…
Reference in New Issue