File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/Captcha/Test/Unit/Observer Expand file tree Collapse file tree 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
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 );
You can’t perform that action at this time.
0 commit comments