Skip to content

Commit 03db558

Browse files
committed
api-functional test fix
1 parent 9aff2a9 commit 03db558

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dev/tests/api-functional/testsuite/Magento/Downloadable/Api/ProductRepositoryTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,10 @@ public function testUpdateDownloadableProductSamplesWithNewFile()
472472
'title' => 'sample2_updated',
473473
'sort_order' => 2,
474474
'sample_type' => 'file',
475+
'sample_file_content' => [
476+
'name' => 'sample2.jpg',
477+
'file_data' => base64_encode(file_get_contents($this->testImagePath)),
478+
],
475479
];
476480

477481
$response[ExtensibleDataInterface::EXTENSION_ATTRIBUTES_KEY]["downloadable_product_samples"] =

0 commit comments

Comments
 (0)