Skip to content

Commit 4228179

Browse files
committed
B2B-1861: [Test] s3 - Refactor WebAPI tests to add support for Remote Storage
- fix configurable_products_with_two_attributes_combination.php fixture
1 parent ab043eb commit 4228179

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/tests/integration/testsuite/Magento/ConfigurableProduct/_files/configurable_products_with_two_attributes_combination.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,9 @@
6565
$firstAttributeValues = [];
6666
$secondAttributeValues = [];
6767

68+
$testImagePath = __DIR__ . '/magento_image.jpg';
6869
$mediaImage = $mediaDirectory->getAbsolutePath($baseTmpMediaPath . DIRECTORY_SEPARATOR . 'magento_image.jpg');
69-
$result = $mediaDirectory->getDriver()->filePutContents($mediaImage, file_get_contents(__DIR__ . '/magento_image.jpg'));
70+
$result = $mediaDirectory->getDriver()->filePutContents($mediaImage, file_get_contents($testImagePath));
7071

7172
array_shift($firstAttributeOptions);
7273
array_shift($secondAttributeOptions);

0 commit comments

Comments
 (0)