Improved data unit tests

This commit is contained in:
Cesar Rodas 2017-05-29 12:51:12 -04:00
parent 8c67ae6a7a
commit bf095190c4
1 changed files with 1 additions and 0 deletions

View File

@ -509,6 +509,7 @@ class WC_Tests_CRUD_Orders extends WC_Unit_Test_Case {
$item->set_props( array(
'product' => WC_Helper_Product::create_simple_product(),
'quantity' => 4,
'order_id' => 999,
) );
$item->save();
$this->assertFalse( $object->get_item( $item->get_id() ) );