We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16895be commit 39d7f39Copy full SHA for 39d7f39
app/code/Magento/Catalog/Test/Unit/Block/Adminhtml/Product/Helper/Form/Gallery/ContentTest.php
@@ -126,7 +126,7 @@ public function testGetImagesJson()
126
127
$this->content->setElement($this->galleryMock);
128
$this->galleryMock->expects($this->once())->method('getImages')->willReturn($images);
129
- $this->fileSystemMock->expects($this->once())->method('getDirectoryRead')->willReturn($this->readMock);
+ $this->fileSystemMock->expects($this->exactly(2))->method('getDirectoryRead')->willReturn($this->readMock);
130
131
$this->mediaConfigMock->expects($this->any())->method('getMediaUrl')->willReturnMap($url);
132
$this->mediaConfigMock->expects($this->any())->method('getMediaPath')->willReturnMap($mediaPath);
0 commit comments