diff --git a/dev/tests/api-functional/testsuite/Magento/Catalog/Api/ProductAttributeRepositoryTest.php b/dev/tests/api-functional/testsuite/Magento/Catalog/Api/ProductAttributeRepositoryTest.php index 0571aa9ddad03..558c7a020f356 100644 --- a/dev/tests/api-functional/testsuite/Magento/Catalog/Api/ProductAttributeRepositoryTest.php +++ b/dev/tests/api-functional/testsuite/Magento/Catalog/Api/ProductAttributeRepositoryTest.php @@ -142,8 +142,9 @@ public function testUpdate() 'attribute' => [ 'attribute_id' => $attribute['attribute_id'], 'attribute_code' => $attributeCode, + 'default_frontend_label' => 'default_label_new', 'frontend_labels' => [ - ['store_id' => 0, 'label' => 'front_lbl_new'], + ['store_id' => 1, 'label' => 'front_lbl_new'], ], "options" => [ //Update existing @@ -183,7 +184,7 @@ public function testUpdate() $this->assertEquals($attribute['attribute_id'], $result['attribute_id']); $this->assertEquals($attributeCode, $result['attribute_code']); - $this->assertEquals('front_lbl_new', $result['default_frontend_label']); + $this->assertEquals('default_label_new', $result['default_frontend_label']); //New option set as default $this->assertEquals($result['options'][3]['value'], $result['default_value']); $this->assertEquals("Default Blue Updated", $result['options'][1]['label']);