From bc47448e8d7d88168d41f3c2e748e539b394af01 Mon Sep 17 00:00:00 2001 From: Rajesh Kumar Date: Tue, 11 Jan 2022 16:22:47 +0530 Subject: [PATCH] AC-2072:: ConfigurationTest Integration test case fixed --- .../testsuite/Magento/Ui/Component/ConfigurationTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev/tests/integration/testsuite/Magento/Ui/Component/ConfigurationTest.php b/dev/tests/integration/testsuite/Magento/Ui/Component/ConfigurationTest.php index 1ec1e6a65b021..e90c903fbb1ac 100644 --- a/dev/tests/integration/testsuite/Magento/Ui/Component/ConfigurationTest.php +++ b/dev/tests/integration/testsuite/Magento/Ui/Component/ConfigurationTest.php @@ -10,6 +10,7 @@ use Magento\Framework\Component\ComponentRegistrar; use Magento\Framework\Component\DirSearch; use Magento\Framework\Exception\FileSystemException; +use Magento\Framework\Exception\ValidatorException; use Magento\Framework\Filesystem; use Magento\Framework\Filesystem\Directory\ReadInterface; use Magento\TestFramework\Helper\Bootstrap; @@ -99,7 +100,7 @@ public function testConfiguration() // or some modules can be in `vendor` directory (like bundled extensions) try { $content = $this->appDir->readFile($this->appDir->getRelativePath($fullPath)); - } catch (FileSystemException $e) { + } catch (ValidatorException $e) { $content = $this->rootDir->readFile($this->rootDir->getRelativePath($fullPath)); } $this->assertConfigurationSemantic($this->getDom($content), $result);