@@ -215,6 +215,8 @@ public function testSetAddressForVirtualQuote()
215
215
*/
216
216
public function testGetMyAddress ()
217
217
{
218
+ $ this ->_markTestAsRestOnly ();
219
+
218
220
// get customer ID token
219
221
/** @var \Magento\Integration\Service\V1\CustomerTokenServiceInterface $customerTokenService */
220
222
$ customerTokenService = $ this ->objectManager ->create (
@@ -252,15 +254,9 @@ public function testGetMyAddress()
252
254
'httpMethod ' => \Magento \Framework \Webapi \Rest \Request::HTTP_METHOD_GET ,
253
255
'token ' => $ token
254
256
],
255
- 'soap ' => [
256
- 'service ' => self ::SERVICE_NAME ,
257
- 'serviceVersion ' => self ::SERVICE_VERSION ,
258
- 'operation ' => self ::SERVICE_NAME . 'Get ' ,
259
- 'token ' => $ token
260
- ],
261
257
];
262
258
263
- $ requestData = [' cartId ' => $ quote -> getId () ];
259
+ $ requestData = [];
264
260
$ this ->assertEquals ($ addressData , $ this ->_webApiCall ($ serviceInfo , $ requestData ));
265
261
}
266
262
@@ -271,6 +267,8 @@ public function testGetMyAddress()
271
267
*/
272
268
public function testSetMyAddress ()
273
269
{
270
+ $ this ->_markTestAsRestOnly ();
271
+
274
272
// get customer ID token
275
273
/** @var \Magento\Integration\Service\V1\CustomerTokenServiceInterface $customerTokenService */
276
274
$ customerTokenService = $ this ->objectManager ->create (
@@ -288,12 +286,6 @@ public function testSetMyAddress()
288
286
'httpMethod ' => \Magento \Framework \Webapi \Rest \Request::HTTP_METHOD_POST ,
289
287
'token ' => $ token
290
288
],
291
- 'soap ' => [
292
- 'service ' => self ::SERVICE_NAME ,
293
- 'serviceVersion ' => self ::SERVICE_VERSION ,
294
- 'operation ' => self ::SERVICE_NAME . 'Assign ' ,
295
- 'token ' => $ token
296
- ],
297
289
];
298
290
299
291
$ addressData = [
@@ -312,7 +304,6 @@ public function testSetMyAddress()
312
304
'fax ' => '44332255 ' ,
313
305
];
314
306
$ requestData = [
315
- "cartId " => $ quote ->getId (),
316
307
'address ' => $ addressData ,
317
308
];
318
309
0 commit comments