File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
app/code/Magento/Catalog/Test/Unit/Block/Adminhtml/Product/Helper/Form/Gallery Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ public function testGetImagesJson()
126
126
127
127
$ this ->content ->setElement ($ this ->galleryMock );
128
128
$ this ->galleryMock ->expects ($ this ->once ())->method ('getImages ' )->willReturn ($ images );
129
- $ this ->fileSystemMock ->expects ($ this ->once ( ))->method ('getDirectoryRead ' )->willReturn ($ this ->readMock );
129
+ $ this ->fileSystemMock ->expects ($ this ->exactly ( 2 ))->method ('getDirectoryRead ' )->willReturn ($ this ->readMock );
130
130
131
131
$ this ->mediaConfigMock ->expects ($ this ->any ())->method ('getMediaUrl ' )->willReturnMap ($ url );
132
132
$ this ->mediaConfigMock ->expects ($ this ->any ())->method ('getMediaPath ' )->willReturnMap ($ mediaPath );
You can’t perform that action at this time.
0 commit comments