Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ObsoleteSystemConfigurationTest.php
Go to the documentation of this file.
1 <?php
10 namespace Magento\Test\Legacy;
11 
12 class ObsoleteSystemConfigurationTest extends \PHPUnit\Framework\TestCase
13 {
15  {
17  'system.xml',
18  ['wsdl.xml', 'wsdl2.xml', 'wsi.xml'],
19  false
20  );
21  foreach ($fileList as $configFile) {
22  $configXml = simplexml_load_file($configFile);
23  $xpath = '/config/tabs|/config/sections';
24  $this->assertEmpty(
25  $configXml->xpath($xpath),
26  'Obsolete system configuration structure detected in file ' . $configFile . '.'
27  );
28  }
29  }
30 }
$fileList
Definition: export.php:13