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 6adb264 commit 32c73ceCopy full SHA for 32c73ce
dev/tests/integration/testsuite/Magento/Quote/Model/QuoteIdToMaskedQuoteIdTest.php
@@ -7,6 +7,7 @@
7
8
namespace Magento\Quote\Model;
9
10
+use Magento\Framework\Exception\NoSuchEntityException;
11
use Magento\TestFramework\Helper\Bootstrap as BootstrapHelper;
12
use Magento\Quote\Model\ResourceModel\Quote as QuoteResource;
13
@@ -49,7 +50,7 @@ public function testMaskedQuoteId()
49
50
51
public function testMaskedQuoteIdWithNonExistentQuoteId()
52
{
- self::expectException('Magento\Framework\Exception\NoSuchEntityException');
53
+ self::expectException(NoSuchEntityException::class);
54
55
$this->quoteIdToMaskedQuoteId->execute(0);
56
}
0 commit comments