File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
app/code/Magento/Captcha/Test/Unit/Controller/Refresh Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 1616use Magento \Framework \Controller \Result \JsonFactory as ResultJsonFactory ;
1717use Magento \Framework \Serialize \Serializer \Json as JsonSerializer ;
1818use Magento \Framework \TestFramework \Unit \Helper \MockCreationTrait ;
19- use Magento \Framework \View \Element \AbstractBlock ;
2019use Magento \Framework \View \Element \BlockInterface ;
2120use Magento \Framework \View \LayoutInterface ;
2221use PHPUnit \Framework \MockObject \MockObject ;
@@ -61,7 +60,7 @@ protected function setUp(): void
6160 $ this ->requestMock = $ this ->createPartialMock (HttpRequest::class, ['getPost ' , 'getContent ' ]);
6261 $ this ->layoutMock = $ this ->createMock (LayoutInterface::class);
6362 $ this ->blockMock = $ this ->createPartialMockWithReflection (
64- AbstractBlock ::class,
63+ BlockInterface ::class,
6564 ['setFormId ' , 'setIsAjax ' , 'toHtml ' ]
6665 );
6766 $ this ->jsonResultFactoryMock = $ this ->createMock (ResultJsonFactory::class);
You can’t perform that action at this time.
0 commit comments