Skip to content

Commit

Permalink
Merge pull request #7392 from magento-gl/GL_Mainline_PR_11012022
Browse files Browse the repository at this point in the history
AC-2072:: ConfigurationTest Integration test case fixed
  • Loading branch information
sidolov authored Jan 14, 2022
2 parents 50554e7 + fa905d4 commit 1647132
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 1647132

Please sign in to comment.