We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b56d8d2 commit 08d5758Copy full SHA for 08d5758
dev/tests/integration/testsuite/Magento/Catalog/Model/Indexer/Category/ProductTest.php
@@ -41,6 +41,7 @@ protected function setUp()
41
}
42
43
/**
44
+ * @magentoAppArea adminhtml
45
* @magentoDataFixture Magento/Catalog/_files/indexer_catalog_category.php
46
* @magentoDbIsolation enabled
47
*/
@@ -214,7 +215,7 @@ protected function getCategories($count)
214
215
\Magento\Catalog\Model\Category::class
216
);
217
- $result = $category->getCollection()->getItems();
218
+ $result = $category->getCollection()->addAttributeToSelect('name')->getItems();
219
$result = array_slice($result, 2);
220
221
return array_slice($result, 0, $count);
0 commit comments