Skip to content

Commit 062cdcc

Browse files
committed
MAGETWO-55038: Add CategoryProductLinkInterface as Extension attributes to ProductInterface entity
1 parent 0a51fa3 commit 062cdcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ public function testUpdateProductCategoryLinksUnassign()
990990
// unassign category_links from product
991991
$response[ProductInterface::EXTENSION_ATTRIBUTES_KEY][self::KEY_CATEGORY_LINKS] = [];
992992
$response = $this->updateProduct($response);
993-
$this->assertEquals([], $response[ProductInterface::EXTENSION_ATTRIBUTES_KEY][self::KEY_CATEGORY_LINKS]);
993+
$this->assertArrayNotHasKey(self::KEY_CATEGORY_LINKS, $response[ProductInterface::EXTENSION_ATTRIBUTES_KEY]);
994994
}
995995

996996
/**

0 commit comments

Comments
 (0)