Skip to content

Commit 6947e45

Browse files
Merge remote-tracking branch 'mainline/2.4.4-develop' into AC-2066
2 parents e517c89 + 1647132 commit 6947e45

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/tests/integration/testsuite/Magento/Ui/Component/ConfigurationTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
use Magento\Framework\Component\ComponentRegistrar;
1111
use Magento\Framework\Component\DirSearch;
1212
use Magento\Framework\Exception\FileSystemException;
13+
use Magento\Framework\Exception\ValidatorException;
1314
use Magento\Framework\Filesystem;
1415
use Magento\Framework\Filesystem\Directory\ReadInterface;
1516
use Magento\TestFramework\Helper\Bootstrap;
@@ -99,7 +100,7 @@ public function testConfiguration()
99100
// or some modules can be in `vendor` directory (like bundled extensions)
100101
try {
101102
$content = $this->appDir->readFile($this->appDir->getRelativePath($fullPath));
102-
} catch (FileSystemException $e) {
103+
} catch (ValidatorException $e) {
103104
$content = $this->rootDir->readFile($this->rootDir->getRelativePath($fullPath));
104105
}
105106
$this->assertConfigurationSemantic($this->getDom($content), $result);

0 commit comments

Comments
 (0)