File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
dev/tests/api-functional/testsuite/Magento/Quote/Api Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -177,6 +177,8 @@ protected function getQuoteItemTotalsData(\Magento\Quote\Model\Quote $quote)
177
177
*/
178
178
public function testGetMyTotals ()
179
179
{
180
+ $ this ->_markTestAsRestOnly ();
181
+
180
182
// get customer ID token
181
183
/** @var \Magento\Integration\Service\V1\CustomerTokenServiceInterface $customerTokenService */
182
184
$ customerTokenService = $ this ->objectManager ->create (
@@ -190,12 +192,6 @@ public function testGetMyTotals()
190
192
$ cartId = $ quote ->getId ();
191
193
192
194
$ serviceInfo = [
193
- 'soap ' => [
194
- 'service ' => 'quoteCartTotalRepositoryV1 ' ,
195
- 'serviceVersion ' => 'V1 ' ,
196
- 'operation ' => 'quoteCartTotalRepositoryV1get ' ,
197
- 'token ' => $ token
198
- ],
199
195
'rest ' => [
200
196
'resourcePath ' => '/V1/carts/mine/totals ' ,
201
197
'httpMethod ' => \Magento \Framework \Webapi \Rest \Request::HTTP_METHOD_GET ,
@@ -232,10 +228,8 @@ public function testGetMyTotals()
232
228
Totals::KEY_ITEMS => [$ this ->getQuoteItemTotalsData ($ quote )],
233
229
];
234
230
235
- $ requestData = ['cartId ' => $ cartId ];
236
-
237
231
$ data = $ this ->formatTotalsData ($ data );
238
232
239
- $ this ->assertEquals ($ data , $ this ->_webApiCall ($ serviceInfo, $ requestData ));
233
+ $ this ->assertEquals ($ data , $ this ->_webApiCall ($ serviceInfo ));
240
234
}
241
235
}
You can’t perform that action at this time.
0 commit comments