File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
dev/tests/integration/testsuite/Magento/Ui/Component Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1010use Magento \Framework \Component \ComponentRegistrar ;
1111use Magento \Framework \Component \DirSearch ;
1212use Magento \Framework \Exception \FileSystemException ;
13+ use Magento \Framework \Exception \ValidatorException ;
1314use Magento \Framework \Filesystem ;
1415use Magento \Framework \Filesystem \Directory \ReadInterface ;
1516use 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 );
You can’t perform that action at this time.
0 commit comments