/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
dev/tests/integration/testsuite/Magento/Test/Integrity/Modular/SalesConfigFilesTest.php
44 строки
1 KB
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 10:44
22 окт 2025, 10:44
264bea2
Код
Авторство
О чём код?
<?php /** * Copyright 2013 Adobe * All Rights Reserved. */ namespace Magento\Test\Integrity\Modular; class SalesConfigFilesTest extends AbstractMergedConfigTest { /** * attributes represent merging rules * copied from original namespace Magento\Framework\App\Route\Config; * * class Reader * * @var array */ protected function getIdAttributes() { return [ '/config/section' => 'name', '/config/section/group' => 'name', '/config/section/group/item' => 'name', '/config/section/group/item/renderer' => 'name', '/config/order/available_product_type' => 'name', ]; } /** * Path to tough XSD for merged file validation * * @var string */ protected function getMergedSchemaFile() { $objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager(); return $objectManager->get(\Magento\Sales\Model\Config\SchemaLocator::class)->getSchema(); } protected function getConfigFiles() { return \Magento\Framework\App\Utility\Files::init()->getConfigFiles('sales.xml'); } }