Skip to content

Commit 4e44a37

Browse files
committed
MAGETWO-60483: Catalog broken when all child products of configurable are disabled
- Static test fix;
1 parent 960a94f commit 4e44a37

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/code/Magento/Catalog/Test/Unit/Pricing/Render/FinalPriceBoxTest.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,11 @@ public function testRenderMsrpDisabled()
189189

190190
public function testNotSalableItem()
191191
{
192-
$this->salableResolverMock->expects($this->once())->method('isSalable')->with($this->product)->willReturn(false);
192+
$this->salableResolverMock
193+
->expects($this->once())
194+
->method('isSalable')
195+
->with($this->product)
196+
->willReturn(false);
193197
$result = $this->object->toHtml();
194198

195199
$this->assertEmpty($result);

0 commit comments

Comments
 (0)