Skip to content

Commit fa628ed

Browse files
committed
MSI-2471: Fixed static test failure
1 parent 9687ccf commit fa628ed

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

app/code/Magento/CatalogSearch/Test/Unit/Model/Indexer/Plugin/StockedProductsFilterPluginTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,7 @@ public function testBeforePrepareProductIndex(): void
104104
$stockStatusCollectionMock
105105
->expects($this->once())
106106
->method('getItems')
107-
->willReturn([
108-
1 => $stockStatusMock,
109-
2 => $stockStatusMock,
110-
]);
107+
->willReturn([1 => $stockStatusMock, 2 => $stockStatusMock]);
111108
$this->stockStatusRepositoryMock
112109
->expects($this->once())
113110
->method('getList')

0 commit comments

Comments
 (0)