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 e5df3f1 commit c48fb9cCopy full SHA for c48fb9c
app/code/Magento/Catalog/Test/Unit/Model/ProductRepositoryTest.php
@@ -384,6 +384,15 @@ public function testSaveForAllStoreViewScope(array $productData): void
384
return null;
385
}
386
});
387
+ $this->product
388
+ ->method('setData')
389
+ ->willReturnCallback(function ($key, $value) {
390
+ if ($key !== 'save_rewrites_history') {
391
+ return null;
392
+ }
393
+
394
+ $this->assertEquals(null, $value);
395
+ });
396
$this->model->save($this->product);
397
398
0 commit comments