Fixed unit tests

This commit is contained in:
Claudio Sanches 2019-12-18 15:43:23 -03:00
parent 3e0e9fee77
commit 5a509591e7
2 changed files with 2 additions and 2 deletions

View File

@ -464,7 +464,7 @@ class WC_Tests_API_Orders_V2 extends WC_REST_Unit_Test_Case {
$response = $this->server->dispatch( $request );
$data = $response->get_data();
$expected = array(
'id' => 1,
'id' => $item->get_id(),
'name' => 'Dummy Product',
'product_id' => 0,
'variation_id' => 0,

View File

@ -468,7 +468,7 @@ class WC_Tests_API_Orders extends WC_REST_Unit_Test_Case {
$response = $this->server->dispatch( $request );
$data = $response->get_data();
$expected = array(
'id' => 1,
'id' => $item->get_id(),
'name' => 'Dummy Product',
'product_id' => 0,
'variation_id' => 0,