Skip to content

Commit 4c31f32

Browse files
Joan Hebuskamuza
authored andcommitted
MAGETWO-58692: Refactor Module_Webapi, Module_Elasticsearch Refactoring integration tests
1 parent 2bb4c83 commit 4c31f32

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

dev/tests/integration/testsuite/Magento/Webapi/Model/ServiceMetadataTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
namespace Magento\Webapi\Model;
77

88
use Magento\TestFramework\Helper\Bootstrap;
9-
use Magento\Webapi\Model\ServiceMetadata;
109
use Magento\Customer\Api\AccountManagementInterface;
1110

1211
class ServiceMetadataTest extends \PHPUnit_Framework_TestCase
@@ -58,7 +57,7 @@ public function testGetServiceMetadata()
5857
]
5958
],
6059
'throws' => [
61-
\Magento\Framework\Exception\LocalizedException::class
60+
"\\Magento\\Framework\\Exception\\LocalizedException"
6261
]
6362
]
6463
]
@@ -107,7 +106,7 @@ public function testGetRouteMetadata()
107106
]
108107
],
109108
'throws' => [
110-
\Magento\Framework\Exception\LocalizedException::class
109+
"\\Magento\\Framework\\Exception\\LocalizedException"
111110
]
112111
]
113112
]

dev/tests/integration/testsuite/Magento/Webapi/Model/Soap/ConfigTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@
66
namespace Magento\Webapi\Model\Soap;
77

88
use Magento\TestFramework\Helper\Bootstrap;
9-
use Magento\Webapi\Model\Soap\Config;
109
use Magento\Customer\Api\AccountManagementInterface;
1110
use Magento\Customer\Api\CustomerRepositoryInterface;
12-
use Magento\Framework\Exception\LocalizedException;
1311

1412
class ConfigTest extends \PHPUnit_Framework_TestCase
1513
{
@@ -62,7 +60,7 @@ public function testGetRequestedSoapServices()
6260
]
6361
],
6462
'throws' => [
65-
\Magento\Framework\Exception\LocalizedException::class
63+
"\\Magento\\Framework\\Exception\\LocalizedException"
6664
]
6765
]
6866
]

0 commit comments

Comments
 (0)