Skip to content

Commit cd429d9

Browse files
committed
AC-2904-v1:: Saving product with non-default store scope causes untouched attributes to become store scoped if loaded using ProductRepository
1 parent c79adc5 commit cd429d9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

dev/tests/api-functional/testsuite/Magento/Catalog/Api/ProductRepositoryMultiWebsiteTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -191,12 +191,12 @@ public function testProductDefaultValuesWithTwoWebsites(): void
191191

192192
$attributeCodeList = ['visibility', 'tax_class_id', 'status', 'short_description', 'description',
193193
'url_key', 'meta_title', 'meta_keywords', 'meta_description'];
194-
foreach($attributeCodeList as $attributeCode){
194+
foreach ($attributeCodeList as $attributeCode) {
195195
$this->assertFalse($scopeOverriddenValue->containsValue(
196-
ProductInterface::class,
197-
$product,
198-
$attributeCode,
199-
$storeId
196+
ProductInterface::class,
197+
$product,
198+
$attributeCode,
199+
$storeId
200200
));
201201
}
202202
}

0 commit comments

Comments
 (0)