Skip to content

Commit

Permalink
Product variants
Browse files Browse the repository at this point in the history
-Added temp code for testing
  • Loading branch information
jekabs committed Nov 13, 2020
1 parent 077343c commit 0c0fa11
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ private function cleanOldMessages(): void
*/
public function run(TestResult $result = null): TestResult
{
//TODO: remove this temporary code
if (!$this instanceof \Magento\CatalogStorefront\Test\Api\ProductVariants\ConfigurableVariantsTest) {
return new TestResult();
}
$this->cleanOldMessages();
$this->resetIndexerToOnSave();
return parent::run($result);
Expand Down Expand Up @@ -200,7 +204,7 @@ private function isSoap(): bool
*
* @param array $consumers
*/
public function runConsumers(array $consumers = []) : void
public function runConsumers(array $consumers = []): void
{
$consumerInvoker = Bootstrap::getObjectManager()->create(ConsumerInvoker::class);
$consumerInvoker->invoke($consumers);
Expand Down

0 comments on commit 0c0fa11

Please sign in to comment.