Skip to content
This repository was archived by the owner on Dec 19, 2019. It is now read-only.

Commit 32c73ce

Browse files
author
Valeriy Nayda
committed
GraphQL-165: GraphQL modules delivery
-- fix static tests
1 parent 6adb264 commit 32c73ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/tests/integration/testsuite/Magento/Quote/Model/QuoteIdToMaskedQuoteIdTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
namespace Magento\Quote\Model;
99

10+
use Magento\Framework\Exception\NoSuchEntityException;
1011
use Magento\TestFramework\Helper\Bootstrap as BootstrapHelper;
1112
use Magento\Quote\Model\ResourceModel\Quote as QuoteResource;
1213

@@ -49,7 +50,7 @@ public function testMaskedQuoteId()
4950

5051
public function testMaskedQuoteIdWithNonExistentQuoteId()
5152
{
52-
self::expectException('Magento\Framework\Exception\NoSuchEntityException');
53+
self::expectException(NoSuchEntityException::class);
5354

5455
$this->quoteIdToMaskedQuoteId->execute(0);
5556
}

0 commit comments

Comments
 (0)