Skip to content

Commit 048aece

Browse files
committed
MAGETWO-57753: [GitHub] Product attribute creation fails with REST API #6213
1 parent 3b0ae05 commit 048aece

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public function testUpdate()
185185
$result = $this->updateAttribute($attributeCode, $attributeData);
186186

187187
$this->assertEquals($attribute['attribute_id'], $result['attribute_id']);
188-
$this->assertEquals($attribute['is_used_in_grid'], $result['is_used_in_grid']);
188+
$this->assertEquals(true, $result['is_used_in_grid']);
189189
$this->assertEquals($attributeCode, $result['attribute_code']);
190190
$this->assertEquals('default_label_new', $result['default_frontend_label']);
191191
//New option set as default

0 commit comments

Comments
 (0)