Skip to content

Commit fd83649

Browse files
committed
GraphQL-250: [BugFix] Configurable Options Label doesn't return the Store View Label
-- fix static tests
1 parent 2b4d501 commit fd83649

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/ConfigurableProduct/ConfigurableProductFrontendLabelAttributeTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6-
76
declare(strict_types=1);
87

98
namespace Magento\GraphQl\ConfigurableProduct;
@@ -54,4 +53,4 @@ public function testGetFrontendLabelAttribute()
5453
$option = $product['configurable_options'][0];
5554
$this->assertEquals($expectLabelValue, $option['label']);
5655
}
57-
}
56+
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
67

78
use Magento\Eav\Model\Entity\Attribute\FrontendLabel;
89
use Magento\TestFramework\Helper\Bootstrap;
@@ -18,4 +19,4 @@
1819
$frontendLabels[] = $frontendLabelAttribute;
1920

2021
$attribute->setFrontendLabels($frontendLabels);
21-
$attributeRepository->save($attribute);
22+
$attributeRepository->save($attribute);

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
67

7-
require __DIR__ . '/configurable_products_rollback.php';
8+
require __DIR__ . '/configurable_products_rollback.php';

0 commit comments

Comments
 (0)