File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
AdobeStockImageAdminUi/Test/Unit/Controller/Adminhtml/Preview Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ protected function setUp(): void
102102 'isAjax ' => 'true ' ,
103103 'media_id ' => 283415387 ,
104104 'destination_path ' => '' ,
105- 'form_key ' => 'PyXOATf2fL9Y8iZf '
105+ 'form_key ' => 'PyXOATf2fL9Y8iZf ' ,
106106 ]
107107 );
108108 $ this ->getAssetById ->expects ($ this ->once ())
@@ -115,7 +115,7 @@ protected function setUp(): void
115115 $ this ->context ->expects ($ this ->once ())
116116 ->method ('getResultFactory ' )
117117 ->willReturn ($ this ->resultFactory );
118- $ this ->saveImage ->expects ($ this ->once ())->method ('execute ' )-> willReturn ( null ) ;
118+ $ this ->saveImage ->expects ($ this ->once ())->method ('execute ' );
119119 $ this ->jsonObject = $ this ->createMock (Json::class);
120120 $ this ->resultFactory ->expects ($ this ->once ())->method ('create ' )->with ('json ' )->willReturn ($ this ->jsonObject );
121121
You can’t perform that action at this time.
0 commit comments