diff --git a/tests/unit-tests/order/crud.php b/tests/unit-tests/order/crud.php index f7600e0167d..381d1439d58 100644 --- a/tests/unit-tests/order/crud.php +++ b/tests/unit-tests/order/crud.php @@ -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() ) );