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 c380859 commit 05b4665Copy full SHA for 05b4665
app/code/Magento/Catalog/Test/Unit/Block/Ui/ProductViewCounterTest.php
@@ -166,14 +166,14 @@ public function testGetCurrentProductDataWithNonEmptyProduct()
166
{
167
$productMock = $this->getMockBuilder(ProductInterface::class)
168
->disableOriginalConstructor()
169
+ ->addMethods(['isAvailable'])
170
->getMockForAbstractClass();
171
$productRendererMock = $this->getMockBuilder(ProductRenderInterface::class)
172
173
174
$storeMock = $this->getMockBuilder(Store::class)
175
176
->getMock();
-
177
$this->registryMock->expects($this->once())
178
->method('registry')
179
->with('product')
0 commit comments