We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ea6f8a commit 859db91Copy full SHA for 859db91
dev/tests/integration/testsuite/Magento/PageBuilder/Model/Config/MenuSection/ReaderTest.php
@@ -36,11 +36,9 @@ protected function setUp(): void
36
);
37
}
38
39
- /**
40
- * @expectedException \Magento\Framework\Exception\LocalizedException
41
- */
42
public function testPartial()
43
{
+ $this->expectException(\Magento\Framework\Exception\LocalizedException::class);
44
$file = file_get_contents(__DIR__ . '/../../../_files/content_type/menu_section3.xml');
45
$this->fileResolverMock->expects($this->once())
46
->method('get')
0 commit comments