/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
setup/src/Magento/Setup/Test/Unit/Model/PhpInformationTest.php
34 строки
868 B
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 11:23
22 окт 2025, 11:23
6c2f6e6
Код
Авторство
О чём код?
<?php /** * Copyright 2015 Adobe * All Rights Reserved. */ declare(strict_types=1); namespace Magento\Setup\Test\Unit\Model; use Magento\Setup\Model\PhpInformation; use PHPUnit\Framework\TestCase; /** * Tests Magento\Setup\Model\PhpInformation */ class PhpInformationTest extends TestCase { public function testGetRequiredMinimumXDebugNestedLevel() { $phpInformation = new PhpInformation(); $this->assertEquals(200, $phpInformation->getRequiredMinimumXDebugNestedLevel()); } public function testGetCurrent() { $phpInformation = new PhpInformation(); $actualExtensions = $phpInformation->getCurrent(); $this->assertIsArray($actualExtensions); // Calling second type should cause class variable to be used $this->assertSame($actualExtensions, $phpInformation->getCurrent()); } }