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 e5b3bb3 commit b13fcbbCopy full SHA for b13fcbb
app/code/Magento/Catalog/Test/Unit/Block/Product/ListProductTest.php
@@ -195,7 +195,7 @@ public function testGetIdentities()
195
196
$this->catCollectionMock->expects($this->once())
197
->method('getIterator')
198
- ->willReturn([$currentCategory]);
+ ->willReturn(new \ArrayIterator([$currentCategory]));
199
200
$this->prodCollectionMock->expects($this->any())
201
0 commit comments