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 9d9513a commit 5f43c0cCopy full SHA for 5f43c0c
app/code/Magento/Catalog/Test/Unit/Model/ProductRepositoryTest.php
@@ -1574,7 +1574,7 @@ public function testSaveExistingWithMediaGalleryEntries(): void
1574
*/
1575
public function testSaveCouldNotSaveException(): void
1576
{
1577
- $this->expectException('Magento\Framework\Exception\CouldNotSaveException');
+ $this->expectException(\Magento\Framework\Exception\CouldNotSaveException::class);
1578
$productData = [
1579
'name' => 'Simple Product',
1580
'price' => 100
0 commit comments