diff --git a/dev/tests/integration/testsuite/Magento/Webapi/Model/ServiceMetadataTest.php b/dev/tests/integration/testsuite/Magento/Webapi/Model/ServiceMetadataTest.php index 7bfbe08a34a096ccd60b0f99ee859b4387bbb336..8fac1c9b0e7031277e59c67d31c8bbff555910c0 100644 --- a/dev/tests/integration/testsuite/Magento/Webapi/Model/ServiceMetadataTest.php +++ b/dev/tests/integration/testsuite/Magento/Webapi/Model/ServiceMetadataTest.php @@ -7,10 +7,11 @@ namespace Magento\Webapi\Model; use Magento\TestFramework\Helper\Bootstrap; use Magento\Customer\Api\AccountManagementInterface; +use Magento\Framework\Exception\LocalizedException; class ServiceMetadataTest extends \PHPUnit_Framework_TestCase { - /**bootstrap.sh + /** * @var ServiceMetadata */ private $serviceMetadata; @@ -57,7 +58,7 @@ class ServiceMetadataTest extends \PHPUnit_Framework_TestCase ] ], 'throws' => [ - "\\Magento\\Framework\\Exception\\LocalizedException" + '\\' . LocalizedException::class ] ] ] @@ -106,7 +107,7 @@ class ServiceMetadataTest extends \PHPUnit_Framework_TestCase ] ], 'throws' => [ - "\\Magento\\Framework\\Exception\\LocalizedException" + '\\' . LocalizedException::class ] ] ] diff --git a/dev/tests/integration/testsuite/Magento/Webapi/Model/Soap/ConfigTest.php b/dev/tests/integration/testsuite/Magento/Webapi/Model/Soap/ConfigTest.php index 95743e9e10537a74d2e9afd7eced8dbe76a7af77..ff1634c60782aee3de08203078f9592716de7803 100644 --- a/dev/tests/integration/testsuite/Magento/Webapi/Model/Soap/ConfigTest.php +++ b/dev/tests/integration/testsuite/Magento/Webapi/Model/Soap/ConfigTest.php @@ -8,6 +8,7 @@ namespace Magento\Webapi\Model\Soap; use Magento\TestFramework\Helper\Bootstrap; use Magento\Customer\Api\AccountManagementInterface; use Magento\Customer\Api\CustomerRepositoryInterface; +use Magento\Framework\Exception\LocalizedException; class ConfigTest extends \PHPUnit_Framework_TestCase { @@ -60,7 +61,7 @@ class ConfigTest extends \PHPUnit_Framework_TestCase ] ], 'throws' => [ - "\\Magento\\Framework\\Exception\\LocalizedException" + '\\' . LocalizedException::class ] ] ]