Skip to content

Commit 1345bc9

Browse files
committed
MC-39923: Stabilize Integration Tests (PageBuilder)
- Use code to replace @ExpectedException from heading
1 parent 657bc3a commit 1345bc9

File tree

1 file changed

+1
-3
lines changed
  • dev/tests/integration/testsuite/Magento/PageBuilder/Model/Config/ContentType

1 file changed

+1
-3
lines changed

dev/tests/integration/testsuite/Magento/PageBuilder/Model/Config/ContentType/ReaderTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,9 @@ protected function setUp(): void
3636
);
3737
}
3838

39-
/**
40-
* @expectedException \Magento\Framework\Exception\LocalizedException
41-
*/
4239
public function testPartial()
4340
{
41+
$this->expectException(\Magento\Framework\Exception\LocalizedException::class);
4442
$file = file_get_contents(__DIR__ . '/../../../_files/content_type/type3_content_type2.xml');
4543
$this->fileResolverMock->expects($this->once())
4644
->method('get')

0 commit comments

Comments
 (0)