Page MenuHomeWickedGov Phorge

TimelineRowFormatterFactoryTest.php
No OneTemporary

Size
964 B
Referenced Files
None
Subscribers
None

TimelineRowFormatterFactoryTest.php

<?php
namespace MediaWiki\CheckUser\Tests\Integration\Investigate\Pagers;
use MediaWiki\CheckUser\Investigate\Pagers\TimelineRowFormatter;
use MediaWiki\CheckUser\Investigate\Pagers\TimelineRowFormatterFactory;
use MediaWiki\Tests\Unit\MockServiceDependenciesTrait;
use MediaWiki\User\User;
use MediaWikiIntegrationTestCase;
/**
* @covers \MediaWiki\CheckUser\Investigate\Pagers\TimelineRowFormatterFactory
* @group CheckUser
*/
class TimelineRowFormatterFactoryTest extends MediaWikiIntegrationTestCase {
use MockServiceDependenciesTrait;
public function testCreateRowFormatter() {
/** @var TimelineRowFormatterFactory $factory */
$factory = $this->newServiceInstance( TimelineRowFormatterFactory::class, [] );
$formatter = $factory->createRowFormatter(
$this->createMock( User::class ),
$this->getServiceContainer()->getLanguageFactory()->getLanguage( 'en' )
);
$this->assertInstanceOf( TimelineRowFormatter::class, $formatter );
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Nov 22, 13:29 (3 h, 23 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
13/23/7c0d2425f2799c7a93dddb672a99
Default Alt Text
TimelineRowFormatterFactoryTest.php (964 B)

Event Timeline