File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
app/code/Magento/Quote/etc
dev/tests/api-functional/testsuite/Magento/Quote/Api Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 15
15
<resource ref =" Magento_Cart::manage" />
16
16
</resources >
17
17
</route >
18
- <route url =" /V1/carts" method =" GET" >
18
+ <route url =" /V1/carts/search " method =" GET" >
19
19
<service class =" Magento\Quote\Api\CartRepositoryInterface" method =" getList" />
20
20
<resources >
21
21
<resource ref =" Magento_Cart::manage" />
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ public function testGetList()
183
183
$ requestData = ['searchCriteria ' => $ searchCriteria ];
184
184
$ serviceInfo = [
185
185
'rest ' => [
186
- 'resourcePath ' => '/V1/carts ' . '? ' . http_build_query ($ requestData ),
186
+ 'resourcePath ' => '/V1/carts/search ' . '? ' . http_build_query ($ requestData ),
187
187
'httpMethod ' => \Magento \Framework \Webapi \Rest \Request::HTTP_METHOD_GET ,
188
188
],
189
189
'soap ' => [
@@ -221,7 +221,7 @@ public function testGetListThrowsExceptionIfProvidedSearchFieldIsInvalid()
221
221
'operation ' => 'quoteCartRepositoryV1GetList ' ,
222
222
],
223
223
'rest ' => [
224
- 'resourcePath ' => '/V1/carts ' ,
224
+ 'resourcePath ' => '/V1/carts/search ' ,
225
225
'httpMethod ' => \Magento \Framework \Webapi \Rest \Request::HTTP_METHOD_PUT ,
226
226
],
227
227
];
You can’t perform that action at this time.
0 commit comments