Skip to content

Commit cf073fe

Browse files
committed
ACP2E-2033: [Performance issue] Price indexer works slow
- implemented unit test
1 parent d6f629f commit cf073fe

File tree

1 file changed

+3
-0
lines changed
  • app/code/Magento/Bundle/Test/Unit/Model/ResourceModel/Indexer

1 file changed

+3
-0
lines changed

app/code/Magento/Bundle/Test/Unit/Model/ResourceModel/Indexer/PriceTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323

2424
/**
2525
* Class to test Bundle products Price indexer resource model
26+
*
27+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2628
*/
2729
class PriceTest extends TestCase
2830
{
@@ -97,6 +99,7 @@ protected function setUp(): void
9799

98100
/**
99101
* @throws \ReflectionException
102+
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
100103
*/
101104
public function testCalculateDynamicBundleSelectionPrice(): void
102105
{

0 commit comments

Comments
 (0)