Skip to content

Commit ad29a7a

Browse files
committed
ACP2E-3786: Not able to preview Scheduled Product update with Category Permissions enabled
1 parent 7162a8a commit ad29a7a

File tree

1 file changed

+2
-2
lines changed
  • dev/tests/integration/testsuite/Magento/Catalog/Model/Indexer/Category/Product/Action

1 file changed

+2
-2
lines changed

dev/tests/integration/testsuite/Magento/Catalog/Model/Indexer/Category/Product/Action/FullTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ protected function setUp(): void
5151
$this->objectManager->addSharedInstance($preferenceObject, OriginObject::class);
5252
$this->interceptor = $this->objectManager->get(OriginObject::class);
5353
$this->pluginList = $this->objectManager->get(PluginListInterface::class);
54-
$this->objectManager->get(Manager::class);
54+
$this->moduleManager = $this->objectManager->get(Manager::class);
5555
}
5656

5757
/**
@@ -72,7 +72,7 @@ public function testPreference()
7272
// Check interceptor class name
7373
if ($this->moduleManager->isEnabled('Magento_Staging')) {
7474
$this->assertEquals(
75-
'\Magento\Staging\Model\Indexer\Category\Product\Action\Full\Interceptor',
75+
'Magento\Staging\Model\Indexer\Category\Product\Action\Full\Interceptor',
7676
$interceptorClassName
7777
);
7878
} else {

0 commit comments

Comments
 (0)