Skip to content

Commit 51e12bf

Browse files
committed
Fixed long variable name
1 parent 54597eb commit 51e12bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/Captcha/Test/Unit/Observer/CheckRegisterCheckoutObserverTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class CheckRegisterCheckoutObserverTest extends \PHPUnit\Framework\TestCase
8686
protected function setUp()
8787
{
8888
$onepageModelTypeMock = $this->createMock(Onepage::class);
89-
$captchaDataHelperMock = $this->createMock(CaptchaDataHelper::class);
89+
$captchaHelperMock = $this->createMock(CaptchaDataHelper::class);
9090
$this->objectManager = new ObjectManager($this);
9191
$this->actionFlagMock = $this->createMock(ActionFlag::class);
9292
$this->captchaStringResolverMock = $this->createMock(CaptchaStringResolver::class);
@@ -101,15 +101,15 @@ protected function setUp()
101101
$this->checkRegisterCheckoutObserver = $this->objectManager->getObject(
102102
CheckRegisterCheckoutObserver::class,
103103
[
104-
'helper' => $captchaDataHelperMock,
104+
'helper' => $captchaHelperMock,
105105
'actionFlag' => $this->actionFlagMock,
106106
'captchaStringResolver' => $this->captchaStringResolverMock,
107107
'typeOnepage' => $onepageModelTypeMock,
108108
'jsonHelper' => $this->jsonHelperMock
109109
]
110110
);
111111

112-
$captchaDataHelperMock->expects($this->once())
112+
$captchaHelperMock->expects($this->once())
113113
->method('getCaptcha')
114114
->with(self::FORM_ID)
115115
->willReturn($this->captchaModelMock);

0 commit comments

Comments
 (0)