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.
Mock
Fake
1 parent 1b014f8 commit 65ac7b7Copy full SHA for 65ac7b7
dev/tests/integration/testsuite/Magento/Customer/Controller/AuthenticationTest.php
@@ -55,8 +55,8 @@ public function testExpectPageDispatchWhenAllowedAction()
55
private function overrideAllowedActions(array $allowedActions): void
56
{
57
$allowedActions = array_combine($allowedActions, $allowedActions);
58
- $pluginMock = $this->_objectManager->create(AccountPlugin::class, ['allowedActions' => $allowedActions]);
59
- $this->_objectManager->addSharedInstance($pluginMock, AccountPlugin::class);
+ $pluginFake = $this->_objectManager->create(AccountPlugin::class, ['allowedActions' => $allowedActions]);
+ $this->_objectManager->addSharedInstance($pluginFake, AccountPlugin::class);
60
}
61
62
/**
0 commit comments