We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e112a1 commit 5bb46ceCopy full SHA for 5bb46ce
dev/tests/api-functional/testsuite/Magento/LoginAsCustomerAssistance/Plugin/CustomerAfterPluginTest.php
@@ -55,8 +55,11 @@ protected function setUp(): void
55
{
56
$objectManager = Bootstrap::getObjectManager();
57
$this->dataObjectProcessor = $objectManager->create(DataObjectProcessor::class);
58
- $this->customerRepository = $objectManager->create(CustomerRepositoryInterface::class);
59
$this->customerRegistry = $objectManager->create(CustomerRegistry::class);
+ $this->customerRepository = $objectManager->create(
60
+ CustomerRepositoryInterface::class,
61
+ ['customerRegistry' => $this->customerRegistry]
62
+ );
63
$this->isAssistanceEnabled = $objectManager->create(GetLoginAsCustomerAssistanceAllowed::class);
64
}
65
0 commit comments