Skip to content

Commit 344bccf

Browse files
committed
PB-107: Display total number of products matched into ProductsList
1 parent 7f7d1e9 commit 344bccf

File tree

2 files changed

+0
-31
lines changed

2 files changed

+0
-31
lines changed

dev/tests/integration/testsuite/Magento/PageBuilder/Controller/Adminhtml/Form/Element/ProductTotalsTest.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -151,22 +151,6 @@ public function productDataProvider()
151151
],
152152
[3, 1, 1, 0]
153153
],
154-
[ // #6 2 configurable products with multiple children, 1 disabled
155-
['1' => [
156-
'aggregator' => 'all',
157-
'new_child' => '',
158-
'type' => \Magento\CatalogWidget\Model\Rule\Condition\Combine::class,
159-
'value' => '1',
160-
],
161-
'1--1' => [
162-
'operator' => '==',
163-
'type' => \Magento\CatalogWidget\Model\Rule\Condition\Product::class,
164-
'attribute' => 'category_ids',
165-
'value' => '5'
166-
]
167-
],
168-
[2, 1, 0, 0]
169-
],
170154
];
171155
}
172156
}

dev/tests/integration/testsuite/Magento/PageBuilder/_files/product_totals/products.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -69,21 +69,6 @@
6969
->setDescription('Category 1.1 description.')
7070
->save();
7171

72-
$category = $objectManager->create(\Magento\Catalog\Model\Category::class);
73-
$category->isObjectNew(true);
74-
$category->setId(5)
75-
->setName('Configurable Product Category')
76-
->setParentId(3)
77-
->setPath('1/2/3/5')
78-
->setLevel(3)
79-
->setAvailableSortBy('name')
80-
->setDefaultSortBy('name')
81-
->setIsActive(true)
82-
->setIsAnchor(true)
83-
->setPosition(1)
84-
->setDescription('Configurable Product Category')
85-
->save();
86-
8772
if (!function_exists('createTestProduct')) {
8873
/**
8974
* Create a test product

0 commit comments

Comments
 (0)