File tree 1 file changed +3
-3
lines changed
app/code/Magento/Captcha/Test/Unit/Observer
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ class CheckRegisterCheckoutObserverTest extends \PHPUnit\Framework\TestCase
86
86
protected function setUp ()
87
87
{
88
88
$ onepageModelTypeMock = $ this ->createMock (Onepage::class);
89
- $ captchaDataHelperMock = $ this ->createMock (CaptchaDataHelper::class);
89
+ $ captchaHelperMock = $ this ->createMock (CaptchaDataHelper::class);
90
90
$ this ->objectManager = new ObjectManager ($ this );
91
91
$ this ->actionFlagMock = $ this ->createMock (ActionFlag::class);
92
92
$ this ->captchaStringResolverMock = $ this ->createMock (CaptchaStringResolver::class);
@@ -101,15 +101,15 @@ protected function setUp()
101
101
$ this ->checkRegisterCheckoutObserver = $ this ->objectManager ->getObject (
102
102
CheckRegisterCheckoutObserver::class,
103
103
[
104
- 'helper ' => $ captchaDataHelperMock ,
104
+ 'helper ' => $ captchaHelperMock ,
105
105
'actionFlag ' => $ this ->actionFlagMock ,
106
106
'captchaStringResolver ' => $ this ->captchaStringResolverMock ,
107
107
'typeOnepage ' => $ onepageModelTypeMock ,
108
108
'jsonHelper ' => $ this ->jsonHelperMock
109
109
]
110
110
);
111
111
112
- $ captchaDataHelperMock ->expects ($ this ->once ())
112
+ $ captchaHelperMock ->expects ($ this ->once ())
113
113
->method ('getCaptcha ' )
114
114
->with (self ::FORM_ID )
115
115
->willReturn ($ this ->captchaModelMock );
You can’t perform that action at this time.
0 commit comments