Skip to content

Commit 093e90c

Browse files
committed
adjust function name in unit test to reflect the change
1 parent 7625935 commit 093e90c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogInventory/Test/Unit/Model/Plugin/ProductLinksTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function testAfterGetProductCollectionShow($status, $callCount)
5252
$this->configMock->expects($this->once())->method('isShowOutOfStock')->willReturn($status);
5353
$this->stockHelperMock
5454
->expects($this->exactly($callCount))
55-
->method('addInStockFilterToCollection')
55+
->method('addIsInStockFilterToCollection')
5656
->with($collectionMock);
5757

5858
$this->assertEquals($collectionMock, $this->model->afterGetProductCollection($subjectMock, $collectionMock));

0 commit comments

Comments
 (0)