/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
dev/tests/integration/testsuite/Magento/Email/Model/Template/VariableCompatibilityCheckerTest.php
25 строк
724 B
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 10:44
22 окт 2025, 10:44
264bea2
Код
Авторство
О чём код?
<?php /** * Copyright 2022 Adobe * All Rights Reserved. */ declare(strict_types=1); namespace Magento\Email\Model\Template; use Magento\Framework\TestFramework\Unit\Helper\ObjectManager; use PHPUnit\Framework\TestCase; class VariableCompatibilityCheckerTest extends TestCase { public function testCompatibilityCheck() { $objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager(); /** @var VariableCompatibilityChecker $checker */ $checker = $objectManager->get(VariableCompatibilityChecker::class); $errors = $checker->getCompatibilityIssues(file_get_contents(__DIR__ . '/../_files/variables_template.html')); self::assertCount(17, $errors); } }