Update test

This commit is contained in:
claudiulodro 2017-08-11 11:27:11 -07:00
parent b826d02f9b
commit 6fa0e7a8f5
1 changed files with 1 additions and 1 deletions

View File

@ -1639,7 +1639,7 @@ class WC_Tests_CRUD_Orders extends WC_Unit_Test_Case {
$order = WC_Helper_Order::create_order();
$order->add_discount( '50%' );
$this->assertEquals( 30, $order->get_total() );
$this->assertEquals( 25, $order->get_total() );
$discount = current( $order->get_items( 'discount' ) );
$order->remove_item( $discount->get_id() );