From 2bb4c834d5d9fe1a9f8bef3c06b9cf3d27e65214 Mon Sep 17 00:00:00 2001 From: Joan He <johe@magento.com> Date: Thu, 27 Oct 2016 14:44:32 -0500 Subject: [PATCH] MAGETWO-58692: Refactor Module_Webapi, Module_Elasticsearch Refactoring integration tests --- .../testsuite/Magento/Webapi/Model/ServiceMetadataTest.php | 4 ++-- .../testsuite/Magento/Webapi/Model/Soap/ConfigTest.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dev/tests/integration/testsuite/Magento/Webapi/Model/ServiceMetadataTest.php b/dev/tests/integration/testsuite/Magento/Webapi/Model/ServiceMetadataTest.php index 78748e84c11..37bbd10363e 100644 --- a/dev/tests/integration/testsuite/Magento/Webapi/Model/ServiceMetadataTest.php +++ b/dev/tests/integration/testsuite/Magento/Webapi/Model/ServiceMetadataTest.php @@ -58,7 +58,7 @@ class ServiceMetadataTest extends \PHPUnit_Framework_TestCase ] ], 'throws' => [ - '\Magento\Framework\Exception\LocalizedException' + \Magento\Framework\Exception\LocalizedException::class ] ] ] @@ -107,7 +107,7 @@ class ServiceMetadataTest extends \PHPUnit_Framework_TestCase ] ], 'throws' => [ - '\Magento\Framework\Exception\LocalizedException' + \Magento\Framework\Exception\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 9625803339f..8b016fe35fc 100644 --- a/dev/tests/integration/testsuite/Magento/Webapi/Model/Soap/ConfigTest.php +++ b/dev/tests/integration/testsuite/Magento/Webapi/Model/Soap/ConfigTest.php @@ -62,7 +62,7 @@ class ConfigTest extends \PHPUnit_Framework_TestCase ] ], 'throws' => [ - '\Magento\Framework\Exception\LocalizedException' + \Magento\Framework\Exception\LocalizedException::class ] ] ] -- GitLab