Fixed coding standards
This commit is contained in:
parent
75484c6d43
commit
da4e7026a2
|
@ -133,11 +133,11 @@ class WC_Tests_Cart extends WC_Unit_Test_Case {
|
|||
wp_trash_post( $product->id );
|
||||
|
||||
// Refetch product, to be sure
|
||||
$product = wc_get_product($product->id);
|
||||
$product = wc_get_product( $product->id );
|
||||
|
||||
// Add product to cart
|
||||
$this->assertFalse(WC()->cart->add_to_cart( $product->id, 1 ));
|
||||
|
||||
$this->assertFalse( WC()->cart->add_to_cart( $product->id, 1 ) );
|
||||
|
||||
// Clean up the cart
|
||||
WC()->cart->empty_cart();
|
||||
|
||||
|
@ -402,4 +402,4 @@ class WC_Tests_Cart extends WC_Unit_Test_Case {
|
|||
update_option( 'woocommerce_calc_taxes', 'no' );
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue