Skip to content

Commit b0d6f0a

Browse files
MAGETWO-69130: Non effective query for catalog search & layered navigation
1 parent 20c5d49 commit b0d6f0a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/code/Magento/CatalogInventory/Test/Unit/Model/Quote/Item/QuantityValidator/Initializer/QuantityValidatorTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,10 @@ public function testValidateOutOfStock()
201201
->method('getStockStatus')
202202
->willReturn($this->stockStatusMock);
203203

204+
$this->stockStatusMock
205+
->method('getStockStatus')
206+
->willReturn(0);
207+
204208
$this->quoteItemMock->expects($this->once())
205209
->method('addErrorInfo')
206210
->with(

0 commit comments

Comments
 (0)