Skip to content

Commit

Permalink
Revert "Product variants"
Browse files Browse the repository at this point in the history
This reverts commit 3ab8815.
  • Loading branch information
jekabs committed Nov 13, 2020
1 parent 3ab8815 commit 077343c
Showing 1 changed file with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,20 +56,6 @@ protected function setUp(): void
);
}

/**
* Temporary debug function
* @throws \Exception
*/
private function debug()
{
$indexerRegistry = Bootstrap::getObjectManager()->create(\Magento\Framework\Indexer\IndexerRegistry::class);
$indexer = $indexerRegistry->get(
\Magento\ProductVariantDataExporter\Model\Indexer\ProductVariantFeedIndexer::INDEXER_ID
);
$debugMessage = $indexer->isScheduled() ? 'Indexer is on Schedule' : 'Indexer is on Save';
throw new \Exception($debugMessage);
}

/**
* Validate configurable product variants data
*
Expand All @@ -80,7 +66,6 @@ private function debug()
*/
public function testConfigurableProductVariants(): void
{
$this->debug();
$simpleSkus = [
'simple_0',
'simple_1',
Expand Down

0 comments on commit 077343c

Please sign in to comment.