Unit Tests: Clear cart notices in test_fixed_cart_discount method

This commit is contained in:
claudiosmweb 2014-10-30 11:37:54 -02:00
parent c269c52f68
commit 8b0d6ed185
1 changed files with 3 additions and 0 deletions

View File

@ -506,6 +506,9 @@ class WC_Tests_Cart extends WC_Unit_Test_Case {
// Test if the cart total amount is equal 5
$this->assertEquals( 5, WC()->cart->total );
// Clearing WC notices
wc_clear_notices();
// Clean up the cart
WC()->cart->empty_cart();