/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
dev/tests/integration/testsuite/Magento/Test/Integrity/Modular/PaymentConfigFilesTest.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 /** * Tests that existing payment.xml files are valid to schema individually and merged. * * Copyright 2013 Adobe * All Rights Reserved. */ namespace Magento\Test\Integrity\Modular; use Magento\Framework\Component\ComponentRegistrar; class PaymentConfigFilesTest extends \Magento\TestFramework\TestCase\AbstractConfigFiles { /** * Returns the reader class name that will be instantiated via ObjectManager * * @return string reader class name */ protected function _getReaderClassName() { return \Magento\Payment\Model\Config\Reader::class; } /** * Returns a string that represents the path to the config file * * @return string */ protected static function _getConfigFilePathGlob() { return 'etc/payment.xml'; } /** * Returns an absolute path to the XSD file corresponding to the XML files specified in _getConfigFilePathGlob * * @return string */ protected static function _getXsdPath() { return self::$componentRegistrar->getPath(ComponentRegistrar::MODULE, 'Magento_Payment') . '/etc/payment_file.xsd'; } }