Page MenuHomeWickedGov Phorge

CheckUserServiceWiringTest.php
No OneTemporary

Size
609 B
Referenced Files
None
Subscribers
None

CheckUserServiceWiringTest.php

<?php
/**
* Copy of CentralAuth's CentralAuthServiceWiringTest.php
* as it could not be included as it's in another extension.
*/
/**
* @coversNothing
* @group Database
*/
class CheckUserServiceWiringTest extends MediaWikiIntegrationTestCase {
/**
* @dataProvider provideService
*/
public function testService( string $name ) {
$this->getServiceContainer()->get( $name );
$this->addToAssertionCount( 1 );
}
public static function provideService() {
$wiring = require __DIR__ . '/../../src/ServiceWiring.php';
foreach ( $wiring as $name => $_ ) {
yield $name => [ $name ];
}
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Oct 3, 22:00 (1 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
41/a5/4f8661cbf58f4cd61d5c02469a21
Default Alt Text
CheckUserServiceWiringTest.php (609 B)

Event Timeline