File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
dev/tests/integration/testsuite/Magento/PageBuilder/Model/Config Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -36,11 +36,9 @@ protected function setUp(): void
36
36
);
37
37
}
38
38
39
- /**
40
- * @expectedException \Magento\Framework\Exception\LocalizedException
41
- */
42
39
public function testPartial ()
43
40
{
41
+ $ this ->expectException (\Magento \Framework \Exception \LocalizedException::class);
44
42
$ file = file_get_contents (__DIR__ . '/../../../_files/content_type/type3_content_type2.xml ' );
45
43
$ this ->fileResolverMock ->expects ($ this ->once ())
46
44
->method ('get ' )
Original file line number Diff line number Diff line change @@ -36,11 +36,9 @@ protected function setUp(): void
36
36
);
37
37
}
38
38
39
- /**
40
- * @expectedException \Magento\Framework\Exception\LocalizedException
41
- */
42
39
public function testPartial ()
43
40
{
41
+ $ this ->expectException (\Magento \Framework \Exception \LocalizedException::class);
44
42
$ file = file_get_contents (__DIR__ . '/../../../_files/content_type/menu_section3.xml ' );
45
43
$ this ->fileResolverMock ->expects ($ this ->once ())
46
44
->method ('get ' )
You can’t perform that action at this time.
0 commit comments