Skip to content

Commit 1647132

Browse files
authored
Merge pull request #7392 from magento-gl/GL_Mainline_PR_11012022
AC-2072:: ConfigurationTest Integration test case fixed
2 parents 50554e7 + fa905d4 commit 1647132

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)