@@ -201,16 +201,14 @@ public function testCreateDownloadableProduct()
201
201
202
202
$ expectedSampleData = $ this ->getExpectedSampleData ();
203
203
$ this ->assertEquals ($ expectedSampleData , $ resultSamples );
204
-
205
- return $ response ;
206
204
}
207
205
208
206
/**
209
207
* Update downloadable product, update a link, add two link, delete a link
210
208
*/
211
209
public function testUpdateDownloadableProductLinks ()
212
210
{
213
- $ response = $ this ->testCreateDownloadableProduct ();
211
+ $ response = $ this ->createDownloadableProduct ();
214
212
$ resultLinks
215
213
= $ response [ExtensibleDataInterface::EXTENSION_ATTRIBUTES_KEY ]["downloadable_product_links " ];
216
214
$ link1Id = $ resultLinks [0 ]['id ' ];
@@ -289,7 +287,7 @@ public function testUpdateDownloadableProductLinks()
289
287
*/
290
288
public function testUpdateDownloadableProductLinksWithNewFile ()
291
289
{
292
- $ response = $ this ->testCreateDownloadableProduct ();
290
+ $ response = $ this ->createDownloadableProduct ();
293
291
$ resultLinks
294
292
= $ response [ExtensibleDataInterface::EXTENSION_ATTRIBUTES_KEY ]["downloadable_product_links " ];
295
293
$ link1Id = $ resultLinks [0 ]['id ' ];
@@ -396,7 +394,7 @@ public function testUpdateDownloadableProductLinksWithNewFile()
396
394
397
395
public function testUpdateDownloadableProductSamples ()
398
396
{
399
- $ response = $ this ->testCreateDownloadableProduct ();
397
+ $ response = $ this ->createDownloadableProduct ();
400
398
401
399
$ resultSample
402
400
= $ response [ExtensibleDataInterface::EXTENSION_ATTRIBUTES_KEY ]["downloadable_product_samples " ];
@@ -454,7 +452,7 @@ public function testUpdateDownloadableProductSamples()
454
452
455
453
public function testUpdateDownloadableProductSamplesWithNewFile ()
456
454
{
457
- $ response = $ this ->testCreateDownloadableProduct ();
455
+ $ response = $ this ->createDownloadableProduct ();
458
456
459
457
$ resultSample
460
458
= $ response [ExtensibleDataInterface::EXTENSION_ATTRIBUTES_KEY ]["downloadable_product_samples " ];
0 commit comments