diff --git a/dev/tests/integration/testsuite/Magento/Webapi/Model/ServiceMetadataTest.php b/dev/tests/integration/testsuite/Magento/Webapi/Model/ServiceMetadataTest.php index 37bbd10363ef597d38c9b2327a8eea0e4df94715..7bfbe08a34a096ccd60b0f99ee859b4387bbb336 100644 --- a/dev/tests/integration/testsuite/Magento/Webapi/Model/ServiceMetadataTest.php +++ b/dev/tests/integration/testsuite/Magento/Webapi/Model/ServiceMetadataTest.php @@ -6,7 +6,6 @@ namespace Magento\Webapi\Model; use Magento\TestFramework\Helper\Bootstrap; -use Magento\Webapi\Model\ServiceMetadata; use Magento\Customer\Api\AccountManagementInterface; class ServiceMetadataTest extends \PHPUnit_Framework_TestCase @@ -58,7 +57,7 @@ class ServiceMetadataTest extends \PHPUnit_Framework_TestCase ] ], 'throws' => [ - \Magento\Framework\Exception\LocalizedException::class + "\\Magento\\Framework\\Exception\\LocalizedException" ] ] ] @@ -107,7 +106,7 @@ class ServiceMetadataTest extends \PHPUnit_Framework_TestCase ] ], 'throws' => [ - \Magento\Framework\Exception\LocalizedException::class + "\\Magento\\Framework\\Exception\\LocalizedException" ] ] ] 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 8b016fe35fc95f6b0d59e6d6e7c468acc62a80fa..95743e9e10537a74d2e9afd7eced8dbe76a7af77 100644 --- a/dev/tests/integration/testsuite/Magento/Webapi/Model/Soap/ConfigTest.php +++ b/dev/tests/integration/testsuite/Magento/Webapi/Model/Soap/ConfigTest.php @@ -6,10 +6,8 @@ namespace Magento\Webapi\Model\Soap; use Magento\TestFramework\Helper\Bootstrap; -use Magento\Webapi\Model\Soap\Config; use Magento\Customer\Api\AccountManagementInterface; use Magento\Customer\Api\CustomerRepositoryInterface; -use Magento\Framework\Exception\LocalizedException; class ConfigTest extends \PHPUnit_Framework_TestCase { @@ -62,7 +60,7 @@ class ConfigTest extends \PHPUnit_Framework_TestCase ] ], 'throws' => [ - \Magento\Framework\Exception\LocalizedException::class + "\\Magento\\Framework\\Exception\\LocalizedException" ] ] ]