Skip to content

Commit 938851c

Browse files
committed
MC-33231: Stabilize Integration tests to work with elasticsearch
- Added Price test changes
1 parent 4184b6b commit 938851c

File tree

1 file changed

+5
-5
lines changed
  • dev/tests/integration/testsuite/Magento/Catalog/Model/Layer/Filter/DataProvider

1 file changed

+5
-5
lines changed

dev/tests/integration/testsuite/Magento/Catalog/Model/Layer/Filter/DataProvider/PriceTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ public function testGetMaxPriceInt()
7171
public function getRangeItemCountsDataProvider()
7272
{
7373
return [
74-
[1, [11 => 2, 46 => 1]],
75-
[10, [2 => 2, 5 => 1]],
76-
[20, [1 => 2, 3 => 1]],
77-
[50, [1 => 3]]
74+
[1, [11 => 2, 46 => 1, 16 => '1']],
75+
[10, [2 => 3, 5 => 1]],
76+
[20, [1 => 3, 3 => 1]],
77+
[50, [1 => 4]]
7878
];
7979
}
8080

@@ -85,7 +85,7 @@ public function getRangeItemCountsDataProvider()
8585
*/
8686
public function testGetRangeItemCounts($inputRange, $expectedItemCounts)
8787
{
88-
$this->markTestSkipped('MC-33231: Mysql Search Engine is deprecated. This test need stabilization.');
88+
// $this->markTestSkipped('MC-33231: Mysql Search Engine is deprecated. This test need stabilization.');
8989
$actualItemCounts = $this->_model->getRangeItemCounts($inputRange);
9090
$this->assertEquals($expectedItemCounts, $actualItemCounts);
9191
}

0 commit comments

Comments
 (0)