-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1473 from magento-okapis/BundledPR-Sep8
[okapis] MAGETWO-71024: [Tech Debt] Skipped unit/integration tests needs to be re-examined.
- Loading branch information
Showing
60 changed files
with
1,054 additions
and
456 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
app/code/Magento/Catalog/Model/Indexer/Product/Price/InvalidateIndex.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?php | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
namespace Magento\Catalog\Model\Indexer\Product\Price; | ||
|
||
use Magento\Customer\Api\Data\GroupInterface; | ||
use Magento\Framework\Indexer\IndexerRegistry; | ||
|
||
/** | ||
* Invalidate price index | ||
*/ | ||
class InvalidateIndex implements UpdateIndexInterface | ||
{ | ||
/** | ||
* @var IndexerRegistry | ||
*/ | ||
private $indexerRegistry; | ||
|
||
/** | ||
* Constructor | ||
* | ||
* @param IndexerRegistry $indexerRegistry | ||
*/ | ||
public function __construct( | ||
IndexerRegistry $indexerRegistry | ||
) { | ||
$this->indexerRegistry = $indexerRegistry; | ||
} | ||
|
||
/** | ||
* {@inheritdoc} | ||
* @SuppressWarnings(PHPMD.UnusedFormalParameter) | ||
*/ | ||
public function update(GroupInterface $group, $isGroupNew) | ||
{ | ||
$this->indexerRegistry->get(Processor::INDEXER_ID)->invalidate(); | ||
} | ||
} |
32 changes: 0 additions & 32 deletions
32
app/code/Magento/Catalog/Model/Indexer/Product/Price/Plugin/AbstractPlugin.php
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.