Improved data unit tests
This commit is contained in:
parent
8c67ae6a7a
commit
bf095190c4
|
@ -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() ) );
|
||||
|
|
Loading…
Reference in New Issue