File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
dev/tests/integration/testsuite/Magento/Webapi/Model Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 77
88use Magento \TestFramework \Helper \Bootstrap ;
99use Magento \Customer \Api \AccountManagementInterface ;
10+ use Magento \Framework \Exception \LocalizedException ;
1011
1112class ServiceMetadataTest extends \PHPUnit_Framework_TestCase
1213{
13- /**bootstrap.sh
14+ /**
1415 * @var ServiceMetadata
1516 */
1617 private $ serviceMetadata ;
@@ -57,7 +58,7 @@ public function testGetServiceMetadata()
5758 ]
5859 ],
5960 'throws ' => [
60- "\\ Magento \\ Framework \\ Exception \\ LocalizedException "
61+ '\\' . LocalizedException::class
6162 ]
6263 ]
6364 ]
@@ -106,7 +107,7 @@ public function testGetRouteMetadata()
106107 ]
107108 ],
108109 'throws ' => [
109- "\\ Magento \\ Framework \\ Exception \\ LocalizedException "
110+ '\\' . LocalizedException::class
110111 ]
111112 ]
112113 ]
Original file line number Diff line number Diff line change 88use Magento \TestFramework \Helper \Bootstrap ;
99use Magento \Customer \Api \AccountManagementInterface ;
1010use Magento \Customer \Api \CustomerRepositoryInterface ;
11+ use Magento \Framework \Exception \LocalizedException ;
1112
1213class ConfigTest extends \PHPUnit_Framework_TestCase
1314{
@@ -60,7 +61,7 @@ public function testGetRequestedSoapServices()
6061 ]
6162 ],
6263 'throws ' => [
63- "\\ Magento \\ Framework \\ Exception \\ LocalizedException "
64+ '\\' . LocalizedException::class
6465 ]
6566 ]
6667 ]
You can’t perform that action at this time.
0 commit comments