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 10
10
use Magento \Framework \Component \ComponentRegistrar ;
11
11
use Magento \Framework \Component \DirSearch ;
12
12
use Magento \Framework \Exception \FileSystemException ;
13
+ use Magento \Framework \Exception \ValidatorException ;
13
14
use Magento \Framework \Filesystem ;
14
15
use Magento \Framework \Filesystem \Directory \ReadInterface ;
15
16
use Magento \TestFramework \Helper \Bootstrap ;
@@ -99,7 +100,7 @@ public function testConfiguration()
99
100
// or some modules can be in `vendor` directory (like bundled extensions)
100
101
try {
101
102
$ content = $ this ->appDir ->readFile ($ this ->appDir ->getRelativePath ($ fullPath ));
102
- } catch (FileSystemException $ e ) {
103
+ } catch (ValidatorException $ e ) {
103
104
$ content = $ this ->rootDir ->readFile ($ this ->rootDir ->getRelativePath ($ fullPath ));
104
105
}
105
106
$ this ->assertConfigurationSemantic ($ this ->getDom ($ content ), $ result );
You can’t perform that action at this time.
0 commit comments