@@ -138,6 +138,8 @@ public function testSetAddress()
138
138
*/
139
139
public function testGetMyAddress ()
140
140
{
141
+ $ this ->_markTestAsRestOnly ();
142
+
141
143
// get customer ID token
142
144
/** @var \Magento\Integration\Service\V1\CustomerTokenServiceInterface $customerTokenService */
143
145
$ customerTokenService = $ this ->objectManager ->create (
@@ -176,23 +178,18 @@ public function testGetMyAddress()
176
178
'httpMethod ' => \Magento \Framework \Webapi \Rest \Request::HTTP_METHOD_GET ,
177
179
'token ' => $ token
178
180
],
179
- 'soap ' => [
180
- 'service ' => self ::SERVICE_NAME ,
181
- 'serviceVersion ' => self ::SERVICE_VERSION ,
182
- 'operation ' => self ::SERVICE_NAME . 'Get ' ,
183
- 'token ' => $ token
184
- ],
185
181
];
186
182
187
- $ requestData = ["cartId " => $ cartId ];
188
- $ this ->assertEquals ($ data , $ this ->_webApiCall ($ serviceInfo , $ requestData ));
183
+ $ this ->assertEquals ($ data , $ this ->_webApiCall ($ serviceInfo ));
189
184
}
190
185
191
186
/**
192
187
* @magentoApiDataFixture Magento/Checkout/_files/quote_with_address_saved.php
193
188
*/
194
189
public function testSetMyAddress ()
195
190
{
191
+ $ this ->_markTestAsRestOnly ();
192
+
196
193
// get customer ID token
197
194
/** @var \Magento\Integration\Service\V1\CustomerTokenServiceInterface $customerTokenService */
198
195
$ customerTokenService = $ this ->objectManager ->create (
@@ -210,12 +207,6 @@ public function testSetMyAddress()
210
207
'httpMethod ' => \Magento \Framework \Webapi \Rest \Request::HTTP_METHOD_POST ,
211
208
'token ' => $ token
212
209
],
213
- 'soap ' => [
214
- 'service ' => self ::SERVICE_NAME ,
215
- 'serviceVersion ' => self ::SERVICE_VERSION ,
216
- 'operation ' => self ::SERVICE_NAME . 'Assign ' ,
217
- 'token ' => $ token
218
- ],
219
210
];
220
211
221
212
$ addressData = [
@@ -234,7 +225,6 @@ public function testSetMyAddress()
234
225
'fax ' => '44332255 ' ,
235
226
];
236
227
$ requestData = [
237
- "cartId " => $ quote ->getId (),
238
228
'address ' => $ addressData ,
239
229
];
240
230
0 commit comments