/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
setup/src/Magento/Setup/Test/Unit/Fixtures/FixtureModelTest.php
33 строки
772 B
Manish Ranjan
AC-16248: PHPUnit 12 Upgrade | Unit test fix
13 янв 2026, 17:31
13 янв 2026, 17:31
58f9738
Код
Авторство
О чём код?
<?php /** * Copyright 2015 Adobe * All Rights Reserved. */ declare(strict_types=1); namespace Magento\Setup\Test\Unit\Fixtures; use Magento\Indexer\Console\Command\IndexerReindexCommand; use Magento\Setup\Fixtures\FixtureModel; use PHPUnit\Framework\TestCase; use Symfony\Component\Console\Output\OutputInterface; class FixtureModelTest extends TestCase { /** * @var FixtureModel */ private $model; protected function setUp(): void { $reindexCommandMock = $this->createMock(IndexerReindexCommand::class); $this->model = new FixtureModel($reindexCommandMock); } public function testReindex() { $outputMock = $this->createMock(OutputInterface::class); $this->model->reindex($outputMock); } }