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 7
7
8
8
use Magento \TestFramework \Helper \Bootstrap ;
9
9
use Magento \Customer \Api \AccountManagementInterface ;
10
+ use Magento \Framework \Exception \LocalizedException ;
10
11
11
12
class ServiceMetadataTest extends \PHPUnit_Framework_TestCase
12
13
{
13
- /**bootstrap.sh
14
+ /**
14
15
* @var ServiceMetadata
15
16
*/
16
17
private $ serviceMetadata ;
@@ -57,7 +58,7 @@ public function testGetServiceMetadata()
57
58
]
58
59
],
59
60
'throws ' => [
60
- "\\ Magento \\ Framework \\ Exception \\ LocalizedException "
61
+ '\\' . LocalizedException::class
61
62
]
62
63
]
63
64
]
@@ -106,7 +107,7 @@ public function testGetRouteMetadata()
106
107
]
107
108
],
108
109
'throws ' => [
109
- "\\ Magento \\ Framework \\ Exception \\ LocalizedException "
110
+ '\\' . LocalizedException::class
110
111
]
111
112
]
112
113
]
Original file line number Diff line number Diff line change 8
8
use Magento \TestFramework \Helper \Bootstrap ;
9
9
use Magento \Customer \Api \AccountManagementInterface ;
10
10
use Magento \Customer \Api \CustomerRepositoryInterface ;
11
+ use Magento \Framework \Exception \LocalizedException ;
11
12
12
13
class ConfigTest extends \PHPUnit_Framework_TestCase
13
14
{
@@ -60,7 +61,7 @@ public function testGetRequestedSoapServices()
60
61
]
61
62
],
62
63
'throws ' => [
63
- "\\ Magento \\ Framework \\ Exception \\ LocalizedException "
64
+ '\\' . LocalizedException::class
64
65
]
65
66
]
66
67
]
You can’t perform that action at this time.
0 commit comments