Skip to content
Snippets Groups Projects
Commit 4c31f320 authored by Joan He's avatar Joan He Committed by Olga Kopylova
Browse files

MAGETWO-58692: Refactor Module_Webapi, Module_Elasticsearch Refactoring integration tests

parent 2bb4c834
Branches
No related merge requests found
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
namespace Magento\Webapi\Model; namespace Magento\Webapi\Model;
use Magento\TestFramework\Helper\Bootstrap; use Magento\TestFramework\Helper\Bootstrap;
use Magento\Webapi\Model\ServiceMetadata;
use Magento\Customer\Api\AccountManagementInterface; use Magento\Customer\Api\AccountManagementInterface;
class ServiceMetadataTest extends \PHPUnit_Framework_TestCase class ServiceMetadataTest extends \PHPUnit_Framework_TestCase
...@@ -58,7 +57,7 @@ class ServiceMetadataTest extends \PHPUnit_Framework_TestCase ...@@ -58,7 +57,7 @@ class ServiceMetadataTest extends \PHPUnit_Framework_TestCase
] ]
], ],
'throws' => [ 'throws' => [
\Magento\Framework\Exception\LocalizedException::class "\\Magento\\Framework\\Exception\\LocalizedException"
] ]
] ]
] ]
...@@ -107,7 +106,7 @@ class ServiceMetadataTest extends \PHPUnit_Framework_TestCase ...@@ -107,7 +106,7 @@ class ServiceMetadataTest extends \PHPUnit_Framework_TestCase
] ]
], ],
'throws' => [ 'throws' => [
\Magento\Framework\Exception\LocalizedException::class "\\Magento\\Framework\\Exception\\LocalizedException"
] ]
] ]
] ]
......
...@@ -6,10 +6,8 @@ ...@@ -6,10 +6,8 @@
namespace Magento\Webapi\Model\Soap; namespace Magento\Webapi\Model\Soap;
use Magento\TestFramework\Helper\Bootstrap; use Magento\TestFramework\Helper\Bootstrap;
use Magento\Webapi\Model\Soap\Config;
use Magento\Customer\Api\AccountManagementInterface; use Magento\Customer\Api\AccountManagementInterface;
use Magento\Customer\Api\CustomerRepositoryInterface; use Magento\Customer\Api\CustomerRepositoryInterface;
use Magento\Framework\Exception\LocalizedException;
class ConfigTest extends \PHPUnit_Framework_TestCase class ConfigTest extends \PHPUnit_Framework_TestCase
{ {
...@@ -62,7 +60,7 @@ class ConfigTest extends \PHPUnit_Framework_TestCase ...@@ -62,7 +60,7 @@ class ConfigTest extends \PHPUnit_Framework_TestCase
] ]
], ],
'throws' => [ 'throws' => [
\Magento\Framework\Exception\LocalizedException::class "\\Magento\\Framework\\Exception\\LocalizedException"
] ]
] ]
] ]
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment