Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ObsoleteThemeLocalXmlTest.php
Go to the documentation of this file.
1 <?php
10 namespace Magento\Test\Legacy;
11 
13 
14 class ObsoleteThemeLocalXmlTest extends \PHPUnit\Framework\TestCase
15 {
16  public function testLocalXmlFilesAbsent()
17  {
19  foreach ($componentRegistrar->getPaths(ComponentRegistrar::THEME) as $themeDir) {
20  $this->assertEmpty(glob($themeDir . '/local.xml'));
21  }
22  }
23 }
$componentRegistrar
Definition: bootstrap.php:23