/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
dev/tests/integration/testsuite/Magento/Test/Integrity/Modular/CrontabConfigFilesTest.php
37 строк
939 B
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 CrontabConfigFilesTest extends AbstractMergedConfigTest { /** * attributes represent merging rules * copied from original class \Magento\Framework\App\Route\Config\Reader * * @var array */ protected function getIdAttributes() { return ['/config/group' => 'id', '/config/group/job' => 'name']; } /** * Path to tough XSD for merged file validation * * @var string */ protected function getMergedSchemaFile() { $objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager(); return $objectManager->get(\Magento\Cron\Model\Config\SchemaLocator::class)->getSchema(); } protected function getConfigFiles() { return \Magento\Framework\App\Utility\Files::init()->getConfigFiles('crontab.xml'); } }