Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
SalesConfigFilesTest.php
Go to the documentation of this file.
1 <?php
7 
9 {
18  protected function getIdAttributes()
19  {
20  return [
21  '/config/section' => 'name',
22  '/config/section/group' => 'name',
23  '/config/section/group/item' => 'name',
24  '/config/section/group/item/renderer' => 'name',
25  '/config/order/available_product_type' => 'name',
26  ];
27  }
28 
34  protected function getMergedSchemaFile()
35  {
37  return $objectManager->get(\Magento\Sales\Model\Config\SchemaLocator::class)->getSchema();
38  }
39 
40  protected function getConfigFiles()
41  {
42  return \Magento\Framework\App\Utility\Files::init()->getConfigFiles('sales.xml');
43  }
44 }
$objectManager
Definition: bootstrap.php:17