Skip to content

Commit 6649b17

Browse files
author
Hayder Sharhan
committed
MAGETWO-44473: Unable to get Carts information using search criteria - API
- Updated api-functional test.
1 parent d5d2f9b commit 6649b17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/api-functional/testsuite/Magento/Quote/Api/CartRepositoryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public function testGetList()
183183
$requestData = ['searchCriteria' => $searchCriteria];
184184
$serviceInfo = [
185185
'rest' => [
186-
'resourcePath' => '/V1/carts' . '?' . http_build_query($requestData),
186+
'resourcePath' => '/V1/carts/search' . '?' . http_build_query($requestData),
187187
'httpMethod' => \Magento\Framework\Webapi\Rest\Request::HTTP_METHOD_GET,
188188
],
189189
'soap' => [
@@ -221,7 +221,7 @@ public function testGetListThrowsExceptionIfProvidedSearchFieldIsInvalid()
221221
'operation' => 'quoteCartRepositoryV1GetList',
222222
],
223223
'rest' => [
224-
'resourcePath' => '/V1/carts',
224+
'resourcePath' => '/V1/carts/search',
225225
'httpMethod' => \Magento\Framework\Webapi\Rest\Request::HTTP_METHOD_PUT,
226226
],
227227
];

0 commit comments

Comments
 (0)