/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
dev/tests/integration/testsuite/Magento/Setup/Module/Dependency/CircularTest.php
31 строка
765 B
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 10:44
22 окт 2025, 10:44
264bea2
Код
Авторство
О чём код?
<?php /** * Copyright 2015 Adobe * All Rights Reserved. */ namespace Magento\Setup\Module\Dependency; class CircularTest extends \PHPUnit\Framework\TestCase { /** * @var Circular */ protected $circular; protected function setUp(): void { $this->circular = new Circular(); } public function testBuildCircularDependencies() { $dependencies = [1 => [2], 2 => [3, 5], 3 => [1], 5 => [2]]; $expectedCircularDependencies = [ 1 => [[1, 2, 3, 1]], 2 => [[2, 3, 1, 2], [2, 5, 2]], 3 => [[3, 1, 2, 3]], 5 => [[5, 2, 5]], ]; $this->assertEquals($expectedCircularDependencies, $this->circular->buildCircularDependencies($dependencies)); } }