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
102
102
'isAjax ' => 'true ' ,
103
103
'media_id ' => 283415387 ,
104
104
'destination_path ' => '' ,
105
- 'form_key ' => 'PyXOATf2fL9Y8iZf '
105
+ 'form_key ' => 'PyXOATf2fL9Y8iZf ' ,
106
106
]
107
107
);
108
108
$ this ->getAssetById ->expects ($ this ->once ())
@@ -115,7 +115,7 @@ protected function setUp(): void
115
115
$ this ->context ->expects ($ this ->once ())
116
116
->method ('getResultFactory ' )
117
117
->willReturn ($ this ->resultFactory );
118
- $ this ->saveImage ->expects ($ this ->once ())->method ('execute ' )-> willReturn ( null ) ;
118
+ $ this ->saveImage ->expects ($ this ->once ())->method ('execute ' );
119
119
$ this ->jsonObject = $ this ->createMock (Json::class);
120
120
$ this ->resultFactory ->expects ($ this ->once ())->method ('create ' )->with ('json ' )->willReturn ($ this ->jsonObject );
121
121
You can’t perform that action at this time.
0 commit comments